aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGreg Sanders <gsanders87@gmail.com>2023-05-24 13:59:49 -0400
committerGreg Sanders <gsanders87@gmail.com>2023-05-24 13:59:49 -0400
commitd97269579769effbe6eec2303ea0cc3e396d3e0d (patch)
treed0222f77acf7291c0d587c24b398d41f7210ce95 /src
parenta13f3746dccd9c4ec16d6bfe9b33ebd26e3238e1 (diff)
downloadbitcoin-d97269579769effbe6eec2303ea0cc3e396d3e0d.tar.xz
Unconditionally return when compact block status == READ_STATUS_FAILED
Diffstat (limited to 'src')
-rw-r--r--src/net_processing.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net_processing.cpp b/src/net_processing.cpp
index f08e771f63..470a7bc084 100644
--- a/src/net_processing.cpp
+++ b/src/net_processing.cpp
@@ -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;