aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2014-03-29 16:21:16 +0100
committerWladimir J. van der Laan <laanwj@gmail.com>2014-03-29 16:25:47 +0100
commitaf4c2ac8ce36988d529adbc9542e6ba520ac1f46 (patch)
tree868f2e69d4013d6db8a6a8d97d6783260da11e55 /src/main.cpp
parent55027a8c85e373f8e7e750cc18e97308be31094b (diff)
downloadbitcoin-af4c2ac8ce36988d529adbc9542e6ba520ac1f46.tar.xz
Fix `-printblocktree` output
PrintBlockTree output was broken starting from e010af70. Everything appears on one line. PrintWallet() added the newline after a block, but this functionality was removed and no newline was added. Seemingly, no one noticed. Add a newline after the block information to fix this.
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 836c86483a..12f76cc9ea 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -3021,7 +3021,7 @@ void PrintBlockTree()
// print item
CBlock block;
ReadBlockFromDisk(block, pindex);
- LogPrintf("%d (blk%05u.dat:0x%x) %s tx %"PRIszu"",
+ LogPrintf("%d (blk%05u.dat:0x%x) %s tx %"PRIszu"\n",
pindex->nHeight,
pindex->GetBlockPos().nFile, pindex->GetBlockPos().nPos,
DateTimeStrFormat("%Y-%m-%d %H:%M:%S", block.GetBlockTime()),