diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2014-06-28 10:15:56 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2014-06-28 10:16:09 +0200 |
commit | ba81f4560736861866822ebda2a8fbc4525d8da4 (patch) | |
tree | 7c95bb216186b200a094738d296e445cee07f368 /src | |
parent | de9ca934678485dedce50ec657c49f65115e9084 (diff) | |
parent | 0dd5d3a00906d8a0f16d6eac62b63c9bb2da1391 (diff) |
Merge pull request #3990
0dd5d3a Show only one zero instead of many when getblocks request received with a hashStop of uint256(0) (R E Broadley)
Diffstat (limited to 'src')
-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) |