mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-08-25 20:21:32 +02:00
fuzz: cover BanMan::IsDiscouraged
This commit is contained in:
@@ -117,6 +117,9 @@ FUZZ_TARGET(banman, .init = initialize_banman)
|
||||
},
|
||||
[&] {
|
||||
ban_man.Discourage(ConsumeNetAddr(fuzzed_data_provider));
|
||||
},
|
||||
[&] {
|
||||
ban_man.IsDiscouraged(ConsumeNetAddr(fuzzed_data_provider));
|
||||
});
|
||||
}
|
||||
if (!force_read_and_write_to_err) {
|
||||
|
Reference in New Issue
Block a user