Merge d254f942a5 into merged_master (Bitcoin PR bitcoin/bitcoin#27324)

This commit is contained in:
Byron Hambly 2025-04-11 23:01:24 +02:00
commit 32f56a1e5b
5 changed files with 32 additions and 26 deletions

View file

@ -4953,7 +4953,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;