Skip to content

Commit

Permalink
[trivial] Fix hungarian variable name
Browse files Browse the repository at this point in the history
Follow up to comment bitcoin#9058 (comment)
  • Loading branch information
ryanofsky committed Nov 14, 2016
1 parent 87ab49e commit ec34648
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/main.cpp
Expand Up @@ -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;
}
Expand Down

0 comments on commit ec34648

Please sign in to comment.