mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-17 13:07:54 +02:00
Merge 513e1071a1 into merged_master (Bitcoin PR bitcoin/bitcoin#22616)
This commit is contained in:
commit
b9ff9a6259
2 changed files with 4 additions and 4 deletions
|
|
@ -653,7 +653,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
|
||||
|
||||
|
|
@ -4530,7 +4530,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