diff options
| author | Wladimir J. van der Laan <[email protected]> | 2016-08-26 10:04:11 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2016-08-26 10:04:26 +0200 |
| commit | 6c9f1b8c24052134413b1a7d7d0599339daffc32 (patch) | |
| tree | c972e8e06977657b0714e556a266095312d0c13e /src/main.cpp | |
| parent | Merge #8462: Move AdvertiseLocal debug output to net category (diff) | |
| parent | Show "end" instead of many zeros when getheaders request received with a hash... (diff) | |
| download | discoin-6c9f1b8c24052134413b1a7d7d0599339daffc32.tar.xz discoin-6c9f1b8c24052134413b1a7d7d0599339daffc32.zip | |
Merge #8561: Show "end" instead of many zeros when getheaders request received with a hashStop of Null
259ee09 Show "end" instead of many zeros when getheaders request received with a hashStop of Null. (R E Broadley)
Diffstat (limited to 'src/main.cpp')
| -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 5160e6075..30edc5dbe 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -5395,7 +5395,7 @@ bool static ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv, // we must use CBlocks, as CBlockHeaders won't include the 0x00 nTx count at the end vector<CBlock> vHeaders; int nLimit = MAX_HEADERS_RESULTS; - LogPrint("net", "getheaders %d to %s from peer=%d\n", (pindex ? pindex->nHeight : -1), hashStop.ToString(), pfrom->id); + LogPrint("net", "getheaders %d to %s from peer=%d\n", (pindex ? pindex->nHeight : -1), hashStop.IsNull() ? "end" : hashStop.ToString(), pfrom->id); for (; pindex; pindex = chainActive.Next(pindex)) { vHeaders.push_back(pindex->GetBlockHeader()); |