Make CAddrMan::Check private

Change in the addrman.h header is move-only.
This commit is contained in:
Hennadii Stepanov
2021-05-23 19:17:23 +03:00
parent efc6fac951
commit 06703973c7
2 changed files with 13 additions and 14 deletions

View File

@@ -107,7 +107,6 @@ FUZZ_TARGET_INIT(addrman, initialize_addrman)
/* max_addresses */ fuzzed_data_provider.ConsumeIntegralInRange<size_t>(0, 4096),
/* max_pct */ fuzzed_data_provider.ConsumeIntegralInRange<size_t>(0, 4096),
/* network */ std::nullopt);
(void)/*const_*/addr_man.Check();
(void)/*const_*/addr_man.Select(fuzzed_data_provider.ConsumeBool());
(void)const_addr_man.size();
CDataStream data_stream(SER_NETWORK, PROTOCOL_VERSION);