aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorJeff Garzik <jgarzik@exmulti.com>2012-09-04 08:59:05 -0700
committerJeff Garzik <jgarzik@exmulti.com>2012-09-04 08:59:05 -0700
commitbec02998b48cb66b034bcba685e83ee184b14a60 (patch)
treecf02e4edf2372ef1248f7e8ef01ec168451a63ee /src/main.cpp
parent8c7b6c05db007aa8825aa3d366685fcaa9c0be44 (diff)
parent89fbd1f11cc06739087d0795048b41ab6462552b (diff)
Merge pull request #1779 from xanatos/patch-15
Useless vector declaration
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index cfbb2d2731..38d2b96f80 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -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
// the last block in an inv bundle sent in response to getblocks. Try to detect
// this situation and push another getblocks to continue.
- std::vector<CInv> vGetData(1,inv);
pfrom->PushGetBlocks(mapBlockIndex[inv.hash], uint256(0));
if (fDebug)
printf("force request: %s\n", inv.ToString().c_str());