p2p, refactor: drop unused DNSLookupFn param in LookupSubnet()

This commit is contained in:
Vasil Dimov
2021-12-07 12:56:02 +01:00
committed by Jon Atack
parent f0c9e68080
commit c44c20108f
3 changed files with 5 additions and 5 deletions

View File

@@ -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.