diff options
author | MarcoFalke <falke.marco@gmail.com> | 2021-08-24 19:19:58 +0200 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2021-08-24 19:19:19 +0200 |
commit | fa82f4ea96749115311cffa0919d49d383c4d28b (patch) | |
tree | 05480cf49b6f2f1dde92262a0bc321806673c5bd /src/test/fuzz/net.cpp | |
parent | eb09c26724e3f714b613788fc506f2ff3a208d2c (diff) |
Remove unused MaybeSetAddrName
This logic is a no-op since it was introduced in commit
f9f5cfc50637f2cd1540923caf337e2651ec1625.
m_addr_name is never initialized to the empty string, because
ToStringIPPort never returns an empty string.
Diffstat (limited to 'src/test/fuzz/net.cpp')
-rw-r--r-- | src/test/fuzz/net.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/test/fuzz/net.cpp b/src/test/fuzz/net.cpp index 20d8581312..7b7bde746c 100644 --- a/src/test/fuzz/net.cpp +++ b/src/test/fuzz/net.cpp @@ -38,9 +38,6 @@ FUZZ_TARGET_INIT(net, initialize_net) node.CloseSocketDisconnect(); }, [&] { - node.MaybeSetAddrName(fuzzed_data_provider.ConsumeRandomLengthString(32)); - }, - [&] { const std::vector<bool> asmap = ConsumeRandomLengthBitVector(fuzzed_data_provider); if (!SanityCheckASMap(asmap)) { return; |