diff options
author | Greg Sanders <gsanders87@gmail.com> | 2023-05-24 13:59:49 -0400 |
---|---|---|
committer | Greg Sanders <gsanders87@gmail.com> | 2023-05-24 13:59:49 -0400 |
commit | d97269579769effbe6eec2303ea0cc3e396d3e0d (patch) | |
tree | d0222f77acf7291c0d587c24b398d41f7210ce95 /src | |
parent | a13f3746dccd9c4ec16d6bfe9b33ebd26e3238e1 (diff) | |
download | bitcoin-d97269579769effbe6eec2303ea0cc3e396d3e0d.tar.xz |
Unconditionally return when compact block status == READ_STATUS_FAILED
Diffstat (limited to 'src')
-rw-r--r-- | src/net_processing.cpp | 2 |
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; |