mirror of
https://github.com/kvazar-network/kevacoin.git
synced 2025-01-12 08:08:25 +00:00
Merge pull request #1779 from xanatos/patch-15
Useless vector declaration
This commit is contained in:
commit
bec02998b4
@ -2679,7 +2679,6 @@ bool static ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv)
|
|||||||
// In case we are on a very long side-chain, it is possible that we already have
|
// In case we are on a very long side-chain, it is possible that we already have
|
||||||
// the last block in an inv bundle sent in response to getblocks. Try to detect
|
// the last block in an inv bundle sent in response to getblocks. Try to detect
|
||||||
// this situation and push another getblocks to continue.
|
// this situation and push another getblocks to continue.
|
||||||
std::vector<CInv> vGetData(1,inv);
|
|
||||||
pfrom->PushGetBlocks(mapBlockIndex[inv.hash], uint256(0));
|
pfrom->PushGetBlocks(mapBlockIndex[inv.hash], uint256(0));
|
||||||
if (fDebug)
|
if (fDebug)
|
||||||
printf("force request: %s\n", inv.ToString().c_str());
|
printf("force request: %s\n", inv.ToString().c_str());
|
||||||
|
Loading…
Reference in New Issue
Block a user