mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-13 12:33:42 +02:00
Merge dd981b5e84 into merged_master (Bitcoin PR bitcoin/bitcoin#22618)
This commit is contained in:
commit
815f4d545d
4 changed files with 9 additions and 3 deletions
|
|
@ -3813,7 +3813,9 @@ void PeerManagerImpl::ProcessMessage(CNode& pfrom, const std::string& msg_type,
|
|||
return;
|
||||
}
|
||||
|
||||
SetupAddressRelay(pfrom, *peer);
|
||||
// Since this must be an inbound connection, SetupAddressRelay will
|
||||
// never fail.
|
||||
Assume(SetupAddressRelay(pfrom, *peer));
|
||||
|
||||
// Only send one GetAddr response per connection to reduce resource waste
|
||||
// and discourage addr stamping of INV announcements.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue