diff options
| author | Wladimir J. van der Laan <[email protected]> | 2016-11-15 09:51:46 +0100 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2016-11-15 09:52:14 +0100 |
| commit | 770364b8eaf718210af9ca2ec53ecc3540f234b3 (patch) | |
| tree | 0eb3d49452415237b7a7b7cb4e9258415964673a /src/main.cpp | |
| parent | Merge #9136: sync_blocks cleanup (diff) | |
| parent | [trivial] Fix hungarian variable name (diff) | |
| download | discoin-770364b8eaf718210af9ca2ec53ecc3540f234b3.tar.xz discoin-770364b8eaf718210af9ca2ec53ecc3540f234b3.zip | |
Merge #9160: [trivial] Fix hungarian variable name
ec34648 [trivial] Fix hungarian variable name (Russell Yanofsky)
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main.cpp b/src/main.cpp index e868e3c5f..10f9b15ec 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -5503,10 +5503,10 @@ bool static ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv, // expensive disk reads, because it will require the peer to // actually receive all the data read from disk over the network. LogPrint("net", "Peer %d sent us a getblocktxn for a block > %i deep", pfrom->id, MAX_BLOCKTXN_DEPTH); - CInv vInv; - vInv.type = State(pfrom->GetId())->fWantsCmpctWitness ? MSG_WITNESS_BLOCK : MSG_BLOCK; - vInv.hash = req.blockhash; - pfrom->vRecvGetData.push_back(vInv); + CInv inv; + inv.type = State(pfrom->GetId())->fWantsCmpctWitness ? MSG_WITNESS_BLOCK : MSG_BLOCK; + inv.hash = req.blockhash; + pfrom->vRecvGetData.push_back(inv); ProcessGetData(pfrom, chainparams.GetConsensus(), connman); return true; } |