|
|
|
@ -1596,7 +1596,6 @@ void PeerManagerImpl::ProcessGetBlockData(CNode& pfrom, Peer& peer, const CInv&
|
|
|
|
|
if (!(pindex->nStatus & BLOCK_HAVE_DATA)) {
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
std::shared_ptr<const CBlock> pblock;
|
|
|
|
|
if (a_recent_block && a_recent_block->GetHash() == pindex->GetBlockHash()) {
|
|
|
|
|
pblock = a_recent_block;
|
|
|
|
@ -1679,7 +1678,6 @@ void PeerManagerImpl::ProcessGetBlockData(CNode& pfrom, Peer& peer, const CInv&
|
|
|
|
|
peer.m_continuation_block.SetNull();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
CTransactionRef PeerManagerImpl::FindTxForGetData(const CNode& peer, const GenTxid& gtxid, const std::chrono::seconds mempool_req, const std::chrono::seconds now)
|
|
|
|
|