Merge pull request #3980

af4c2ac Fix `-printblocktree` output (Wladimir J. van der Laan)
This commit is contained in:
Wladimir J. van der Laan 2014-03-31 04:47:25 +02:00
commit 09b9c2fcd5
No known key found for this signature in database
GPG Key ID: 74810B012346C9A6

View File

@ -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()),