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.
This commit is contained in:
parent
55027a8c85
commit
af4c2ac8ce
1 changed files with 1 additions and 1 deletions
|
@ -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()),
|
||||
|
|
Loading…
Reference in a new issue