Skip to content

Commit ec34648

Browse files
committed
[trivial] Fix hungarian variable name
Follow up to comment bitcoin/bitcoin#9058 (comment)
1 parent 87ab49e commit ec34648

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/main.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5503,10 +5503,10 @@ bool static ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv,
55035503
// expensive disk reads, because it will require the peer to
55045504
// actually receive all the data read from disk over the network.
55055505
LogPrint("net", "Peer %d sent us a getblocktxn for a block > %i deep", pfrom->id, MAX_BLOCKTXN_DEPTH);
5506-
CInv vInv;
5507-
vInv.type = State(pfrom->GetId())->fWantsCmpctWitness ? MSG_WITNESS_BLOCK : MSG_BLOCK;
5508-
vInv.hash = req.blockhash;
5509-
pfrom->vRecvGetData.push_back(vInv);
5506+
CInv inv;
5507+
inv.type = State(pfrom->GetId())->fWantsCmpctWitness ? MSG_WITNESS_BLOCK : MSG_BLOCK;
5508+
inv.hash = req.blockhash;
5509+
pfrom->vRecvGetData.push_back(inv);
55105510
ProcessGetData(pfrom, chainparams.GetConsensus(), connman);
55115511
return true;
55125512
}

0 commit comments

Comments
 (0)