Skip to content

Commit

Permalink
Unconditionally return when compact block status == READ_STATUS_FAILED
Browse files Browse the repository at this point in the history
Github-Pull: bitcoin#27743
Rebased-From: d972695
  • Loading branch information
instagibbs authored and fanquake committed Jun 16, 2023
1 parent cdd3de0 commit b8ad322
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/net_processing.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4364,11 +4364,11 @@ void PeerManagerImpl::ProcessMessage(CNode& pfrom, const std::string& msg_type,
std::vector<CInv> vInv(1);
vInv[0] = CInv(MSG_BLOCK | GetFetchFlags(*peer), blockhash);
m_connman.PushMessage(&pfrom, msgMaker.Make(NetMsgType::GETDATA, vInv));
return;
} else {
// Give up for this peer and wait for other peer(s)
RemoveBlockRequest(pindex->GetBlockHash(), pfrom.GetId());
}
return;
}

BlockTransactionsRequest req;
Expand Down

0 comments on commit b8ad322

Please sign in to comment.