mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-07-01 03:01:09 +02:00
fuzz: Re-enable assert in banman again
This commit is contained in:
@ -108,9 +108,7 @@ FUZZ_TARGET_INIT(banman, initialize_banman)
|
|||||||
BanMan ban_man_read{banlist_file, /* client_interface */ nullptr, /* default_ban_time */ 0};
|
BanMan ban_man_read{banlist_file, /* client_interface */ nullptr, /* default_ban_time */ 0};
|
||||||
banmap_t banmap_read;
|
banmap_t banmap_read;
|
||||||
ban_man_read.GetBanned(banmap_read);
|
ban_man_read.GetBanned(banmap_read);
|
||||||
// Assert temporarily disabled to allow the remainder of the fuzz test to run while a
|
assert(banmap == banmap_read);
|
||||||
// fix is being worked on. See https://github.com/bitcoin/bitcoin/pull/22517
|
|
||||||
(void)(banmap == banmap_read);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
fs::remove(banlist_file.string() + ".json");
|
fs::remove(banlist_file.string() + ".json");
|
||||||
|
Reference in New Issue
Block a user