mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-14 12:43:40 +02:00
Unconditionally return when compact block status == READ_STATUS_FAILED
This commit is contained in:
parent
a13f3746dc
commit
d972695797
1 changed files with 1 additions and 1 deletions
|
|
@ -4365,11 +4365,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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue