mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-11 22:50:59 +01:00
Move GetLocal() declaration from header to implementation
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user