aboutsummaryrefslogtreecommitdiff
path: root/src/netbase.h
diff options
context:
space:
mode:
authorVasil Dimov <vd@FreeBSD.org>2021-12-07 12:56:02 +0100
committerJon Atack <jon@atack.com>2021-12-07 13:13:18 +0100
commitc44c20108f7b7314f59f034110789385a24db280 (patch)
treef58f1458ab93e6ba3144c9f1c6b4b68f86f67a9f /src/netbase.h
parentf0c9e68080432c1ab11b14e571b8dfb7cfe727f8 (diff)
downloadbitcoin-c44c20108f7b7314f59f034110789385a24db280.tar.xz
p2p, refactor: drop unused DNSLookupFn param in LookupSubnet()
Diffstat (limited to 'src/netbase.h')
-rw-r--r--src/netbase.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/netbase.h b/src/netbase.h
index a730626a50..f3d8f15788 100644
--- a/src/netbase.h
+++ b/src/netbase.h
@@ -176,7 +176,7 @@ CService LookupNumeric(const std::string& name, uint16_t portDefault = 0, DNSLoo
* from `subnet_str`.
* @returns whether the operation succeeded or not.
*/
-bool LookupSubNet(const std::string& subnet_str, CSubNet& subnet_out, DNSLookupFn dns_lookup_function = g_dns_lookup);
+bool LookupSubNet(const std::string& subnet_str, CSubNet& subnet_out);
/**
* Create a TCP socket in the given address family.