diff options
author | Russell Yanofsky <russ@yanofsky.org> | 2016-11-14 11:09:12 -0500 |
---|---|---|
committer | Russell Yanofsky <russ@yanofsky.org> | 2016-11-14 14:02:24 -0500 |
commit | ec34648766c4052816e4072cc61ad429430bcfd9 (patch) | |
tree | eb1df9796230f0092a983ae35b7938c7816a731c /src/main.cpp | |
parent | 87ab49e4fe38f0d8d527090ea348081037a68cef (diff) |
[trivial] Fix hungarian variable name
Follow up to comment https://github.com/bitcoin/bitcoin/pull/9058#discussion_r87676593
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 e868e3c5f9..10f9b15ec6 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; } |