Skip to content

Commit d972695

Browse files
committed
Unconditionally return when compact block status == READ_STATUS_FAILED
1 parent a13f374 commit d972695

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/net_processing.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4365,11 +4365,11 @@ void PeerManagerImpl::ProcessMessage(CNode& pfrom, const std::string& msg_type,
43654365
std::vector<CInv> vInv(1);
43664366
vInv[0] = CInv(MSG_BLOCK | GetFetchFlags(*peer), blockhash);
43674367
m_connman.PushMessage(&pfrom, msgMaker.Make(NetMsgType::GETDATA, vInv));
4368-
return;
43694368
} else {
43704369
// Give up for this peer and wait for other peer(s)
43714370
RemoveBlockRequest(pindex->GetBlockHash(), pfrom.GetId());
43724371
}
4372+
return;
43734373
}
43744374

43754375
BlockTransactionsRequest req;

0 commit comments

Comments
 (0)