mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-19 13:27:35 +02:00
Move GetLocal() declaration from header to implementation
This commit is contained in:
parent
11426f6557
commit
5ba73cd0ee
2 changed files with 1 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue