mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-19 06:43:45 +01:00
[net] Pass nRecvFloodSize to CNode
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user