mirror of
https://github.com/dashpay/dash.git
synced 2024-12-26 20:42:59 +01:00
Merge pull request #3980
af4c2ac
Fix `-printblocktree` output (Wladimir J. van der Laan)
This commit is contained in:
commit
09b9c2fcd5
@ -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 New Issue
Block a user