mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-14 12:43:40 +02:00
p2p, rpc: address relay fixups
This commit is contained in:
parent
87257d860e
commit
5e33f762d4
2 changed files with 4 additions and 4 deletions
|
|
@ -652,7 +652,7 @@ private:
|
|||
* @return True if address relay is enabled with peer
|
||||
* False if address relay is disallowed
|
||||
*/
|
||||
bool SetupAddressRelay(CNode& node, Peer& peer);
|
||||
bool SetupAddressRelay(const CNode& node, Peer& peer);
|
||||
};
|
||||
} // namespace
|
||||
|
||||
|
|
@ -4461,7 +4461,7 @@ public:
|
|||
};
|
||||
}
|
||||
|
||||
bool PeerManagerImpl::SetupAddressRelay(CNode& node, Peer& peer)
|
||||
bool PeerManagerImpl::SetupAddressRelay(const CNode& node, Peer& peer)
|
||||
{
|
||||
// We don't participate in addr relay with outbound block-relay-only
|
||||
// connections to prevent providing adversaries with the additional
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue