Move GetLocal() declaration from header to implementation

This commit is contained in:
Jon Atack
2023-07-13 12:14:16 -06:00
parent 11426f6557
commit 5ba73cd0ee
2 changed files with 1 additions and 2 deletions

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;