Skip to content

Commit

Permalink
Remove printf lines containing PRId64 as this breaks gitian builds.
Browse files Browse the repository at this point in the history
  • Loading branch information
IngCr3at1on committed Apr 3, 2015
1 parent dee9f83 commit 6b20f1d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3032,7 +3032,6 @@ bool static ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv)
// to new node if waited longer than MAX_TIME_SINCE_BEST_BLOCK.
int64_t TimeSinceBestBlock = GetTime() - nTimeBestReceived;
if (TimeSinceBestBlock > MAX_TIME_SINCE_BEST_BLOCK) {
printf("INFO: Waiting %"PRId64" sec which is too long. Sending GetBlocks(0)\n", TimeSinceBestBlock);
pfrom->PushGetBlocks(pindexBest, uint256(0));
}

Expand Down Expand Up @@ -3398,7 +3397,6 @@ bool static ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv)
// an error related to new block download.
int64_t TimeSinceBestBlock = GetTime() - nTimeBestReceived;
if (TimeSinceBestBlock > MAX_TIME_SINCE_BEST_BLOCK) {
printf("INFO: Waiting %"PRId64" sec which is too long. Sending GetBlocks(0)\n", TimeSinceBestBlock);
pfrom->PushGetBlocks(pindexBest, uint256(0));
}
}
Expand Down

0 comments on commit 6b20f1d

Please sign in to comment.