mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-31 10:41:08 +00:00
fuzz: cover BanMan::IsDiscouraged
This commit is contained in:
parent
2f410ad78c
commit
c2ed576d2c
@ -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) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user