Move GetLocal() declaration from header to implementation

This commit is contained in:
Jon Atack committed 2023-07-19 11:49:21 -06:00
1 parent 11426f6557
commit 5ba73cd0ee
2 files changed
+1 -2

No files matched your search

+1 -1
View File
@@ -146,7 +146,7 @@ uint16_t GetListenPort()
}
// find 'best' local address for a particular peer
bool GetLocal(CService& addr, const CNode& peer)
[[nodiscard]] static bool GetLocal(CService& addr, const CNode& peer)
{
if (!fListen)
return false;
-1
View File
@@ -163,7 +163,6 @@ bool AddLocal(const CNetAddr& addr, int nScore = LOCAL_NONE);
void RemoveLocal(const CService& addr);
bool SeenLocal(const CService& addr);
bool IsLocal(const CService& addr);
bool GetLocal(CService& addr, const CNode& peer);
CService GetLocalAddress(const CNode& peer);
CService MaybeFlipIPv6toCJDNS(const CService& service);