|
|
|
@ -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;
|
|
|
|
@ -1680,7 +1679,6 @@ void PeerManagerImpl::ProcessGetBlockData(CNode& pfrom, Peer& peer, const CInv&
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
CTransactionRef PeerManagerImpl::FindTxForGetData(const CNode& peer, const GenTxid& gtxid, const std::chrono::seconds mempool_req, const std::chrono::seconds now)
|
|
|
|
|
{
|
|
|
|
|