aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2021-08-07 10:27:47 +0200
committerMarcoFalke <falke.marco@gmail.com>2021-08-07 10:21:45 +0200
commitfabed982ad9143cddaca8346f6b4c243dd84e0c4 (patch)
tree118385ca57d8ab3fd70eba5c25d4c9793f643ba3
parent03826aecc56c5c5c76570805897c2ddf92e11ab6 (diff)
downloadbitcoin-fabed982ad9143cddaca8346f6b4c243dd84e0c4.tar.xz
fuzz: Re-enable assert in banman again
-rw-r--r--src/test/fuzz/banman.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/test/fuzz/banman.cpp b/src/test/fuzz/banman.cpp
index de211f601f..46a9f623ac 100644
--- a/src/test/fuzz/banman.cpp
+++ b/src/test/fuzz/banman.cpp
@@ -108,9 +108,7 @@ FUZZ_TARGET_INIT(banman, initialize_banman)
BanMan ban_man_read{banlist_file, /* client_interface */ nullptr, /* default_ban_time */ 0};
banmap_t banmap_read;
ban_man_read.GetBanned(banmap_read);
- // Assert temporarily disabled to allow the remainder of the fuzz test to run while a
- // fix is being worked on. See https://github.com/bitcoin/bitcoin/pull/22517
- (void)(banmap == banmap_read);
+ assert(banmap == banmap_read);
}
}
fs::remove(banlist_file.string() + ".json");