mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-16 13:01:19 +02:00
Move IsPeerAddrLocalGood() declaration from header to implementation
This commit is contained in:
parent
4a1aae6749
commit
deccf1c484
2 changed files with 1 additions and 2 deletions
|
|
@ -223,7 +223,7 @@ static int GetnScore(const CService& addr)
|
|||
}
|
||||
|
||||
// Is our peer's addrLocal potentially useful as an external IP source?
|
||||
bool IsPeerAddrLocalGood(CNode *pnode)
|
||||
[[nodiscard]] static bool IsPeerAddrLocalGood(CNode *pnode)
|
||||
{
|
||||
CService addrLocal = pnode->GetAddrLocal();
|
||||
return fDiscover && pnode->addr.IsRoutable() && addrLocal.IsRoutable() &&
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue