aboutsummaryrefslogtreecommitdiff
path: root/src/test/fuzz/connman.cpp
diff options
context:
space:
mode:
authorJohn Newbery <john@johnnewbery.com>2020-10-23 10:24:16 +0100
committerJohn Newbery <john@johnnewbery.com>2021-03-20 10:24:40 +0000
commit7c4cc67c0c3c50df004ee53cac5b2884b7fbab29 (patch)
tree46a6057a19abb8d7c21d5c613fedec49c143041c /src/test/fuzz/connman.cpp
parentbcd7f30b7944892db7ae37069175804567bb0cdf (diff)
[net] remove CConnman::AddNewAddresses
It just forwards calls to CAddrMan::Add.
Diffstat (limited to 'src/test/fuzz/connman.cpp')
-rw-r--r--src/test/fuzz/connman.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/test/fuzz/connman.cpp b/src/test/fuzz/connman.cpp
index dec580ea22..e07f25dedf 100644
--- a/src/test/fuzz/connman.cpp
+++ b/src/test/fuzz/connman.cpp
@@ -44,14 +44,6 @@ FUZZ_TARGET_INIT(connman, initialize_connman)
random_string = fuzzed_data_provider.ConsumeRandomLengthString(64);
},
[&] {
- std::vector<CAddress> addresses;
- while (fuzzed_data_provider.ConsumeBool()) {
- addresses.push_back(ConsumeAddress(fuzzed_data_provider));
- }
- // Limit nTimePenalty to int32_t to avoid signed integer overflow
- (void)connman.AddNewAddresses(addresses, ConsumeAddress(fuzzed_data_provider), fuzzed_data_provider.ConsumeIntegral<int32_t>());
- },
- [&] {
connman.AddNode(random_string);
},
[&] {