mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-14 12:43:40 +02:00
[net] Pass nRecvFloodSize to CNode
This commit is contained in:
parent
860402ef2e
commit
cd0c8eeb09
5 changed files with 19 additions and 17 deletions
|
|
@ -4887,7 +4887,7 @@ bool PeerManagerImpl::ProcessMessages(CNode* pfrom, std::atomic<bool>& interrupt
|
|||
// Don't bother if send buffer is too full to respond anyway
|
||||
if (pfrom->fPauseSend) return false;
|
||||
|
||||
auto poll_result{pfrom->PollMessage(m_connman.GetReceiveFloodSize())};
|
||||
auto poll_result{pfrom->PollMessage()};
|
||||
if (!poll_result) {
|
||||
// No message to process
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue