Merge pull request #3980
af4c2ac
Fix `-printblocktree` output (Wladimir J. van der Laan)
This commit is contained in:
commit
09b9c2fcd5
1 changed files with 1 additions and 1 deletions
|
@ -3021,7 +3021,7 @@ void PrintBlockTree()
|
||||||
// print item
|
// print item
|
||||||
CBlock block;
|
CBlock block;
|
||||||
ReadBlockFromDisk(block, pindex);
|
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->nHeight,
|
||||||
pindex->GetBlockPos().nFile, pindex->GetBlockPos().nPos,
|
pindex->GetBlockPos().nFile, pindex->GetBlockPos().nPos,
|
||||||
DateTimeStrFormat("%Y-%m-%d %H:%M:%S", block.GetBlockTime()),
|
DateTimeStrFormat("%Y-%m-%d %H:%M:%S", block.GetBlockTime()),
|
||||||
|
|
Loading…
Reference in a new issue