diff options
author | R E Broadley <rebroad+github@gmail.com> | 2014-04-01 13:02:04 +0800 |
---|---|---|
committer | R E Broadley <rebroad+github@gmail.com> | 2014-06-28 09:55:24 +0700 |
commit | 0dd5d3a00906d8a0f16d6eac62b63c9bb2da1391 (patch) | |
tree | 75360a9108392e65441b46fb59fd89f029d26b4a | |
parent | 62599373883a66a958136f48ab0e2b826e3d5bf8 (diff) |
Show only one zero instead of many when getblocks request received with a hashStop of uint256(0)
-rw-r--r-- | src/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index d86fd3a24d..590714b1fc 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -3652,7 +3652,7 @@ bool static ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv) if (pindex) pindex = chainActive.Next(pindex); int nLimit = 500; - LogPrint("net", "getblocks %d to %s limit %d\n", (pindex ? pindex->nHeight : -1), hashStop.ToString(), nLimit); + LogPrint("net", "getblocks %d to %s limit %d\n", (pindex ? pindex->nHeight : -1), hashStop==uint256(0) ? "end" : hashStop.ToString(), nLimit); for (; pindex; pindex = chainActive.Next(pindex)) { if (pindex->GetBlockHash() == hashStop) |