Skip to content

Commit

Permalink
Fix peer info nBlockRequested
Browse files Browse the repository at this point in the history
  • Loading branch information
Tranz5 committed Jun 3, 2014
1 parent 4835c4d commit de472fa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3405,6 +3405,7 @@ bool static ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv)
{
// Send block from disk
map<uint256, CBlockIndex*>::iterator mi = mapBlockIndex.find(inv.hash);
pfrom->nBlocksRequested++;
if (mi != mapBlockIndex.end())
{
CBlock block;
Expand Down

0 comments on commit de472fa

Please sign in to comment.