diff options
| author | Wladimir J. van der Laan <[email protected]> | 2014-03-29 16:21:16 +0100 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2014-03-29 16:25:47 +0100 |
| commit | af4c2ac8ce36988d529adbc9542e6ba520ac1f46 (patch) | |
| tree | 868f2e69d4013d6db8a6a8d97d6783260da11e55 /src/main.cpp | |
| parent | Merge pull request #3973 (diff) | |
| download | discoin-af4c2ac8ce36988d529adbc9542e6ba520ac1f46.tar.xz discoin-af4c2ac8ce36988d529adbc9542e6ba520ac1f46.zip | |
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.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index 836c86483..12f76cc9e 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()), |