Merge 513e1071a1 into merged_master (Bitcoin PR bitcoin/bitcoin#22616)

This commit is contained in:
Byron Hambly 2023-04-06 13:35:05 +00:00
commit b9ff9a6259
2 changed files with 4 additions and 4 deletions

View file

@ -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