Browse Source

Merge pull request #3980

af4c2ac Fix `-printblocktree` output (Wladimir J. van der Laan)
0.10
Wladimir J. van der Laan 11 years ago
parent
commit
09b9c2fcd5
No known key found for this signature in database
GPG Key ID: 74810B012346C9A6
  1. 2
      src/main.cpp

2
src/main.cpp

@ -3021,7 +3021,7 @@ void PrintBlockTree() @@ -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…
Cancel
Save