diff options
author | John Newbery <john@johnnewbery.com> | 2020-10-23 10:19:25 +0100 |
---|---|---|
committer | John Newbery <john@johnnewbery.com> | 2021-03-20 10:24:40 +0000 |
commit | 8073673dbcb2744fcc9c011edf2d61388ca929cd (patch) | |
tree | 723a9968b6c664281c0c9e39c37c38bb1fcf0c8f /src/test | |
parent | 392a95d393a9af01b53e5e68197e81968efb84fc (diff) | |
download | bitcoin-8073673dbcb2744fcc9c011edf2d61388ca929cd.tar.xz |
[net] remove CConnman::SetServices
It just forwards calls to CAddrMan::SetServices.
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/fuzz/connman.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/test/fuzz/connman.cpp b/src/test/fuzz/connman.cpp index 7bb5ed9657..4c4da24262 100644 --- a/src/test/fuzz/connman.cpp +++ b/src/test/fuzz/connman.cpp @@ -30,7 +30,6 @@ FUZZ_TARGET_INIT(connman, initialize_connman) CAddress random_address; CNetAddr random_netaddr; CNode random_node = ConsumeNode(fuzzed_data_provider); - CService random_service; CSubNet random_subnet; std::string random_string; while (fuzzed_data_provider.ConsumeBool()) { @@ -43,9 +42,6 @@ FUZZ_TARGET_INIT(connman, initialize_connman) random_netaddr = ConsumeNetAddr(fuzzed_data_provider); }, [&] { - random_service = ConsumeService(fuzzed_data_provider); - }, - [&] { random_subnet = ConsumeSubNet(fuzzed_data_provider); }, [&] { @@ -129,9 +125,6 @@ FUZZ_TARGET_INIT(connman, initialize_connman) connman.SetNetworkActive(fuzzed_data_provider.ConsumeBool()); }, [&] { - connman.SetServices(random_service, ConsumeWeakEnum(fuzzed_data_provider, ALL_SERVICE_FLAGS)); - }, - [&] { connman.SetTryNewOutboundPeer(fuzzed_data_provider.ConsumeBool()); }); } |