From 6776c5017b60e9ada65a00a3878b8942ddcc68de Mon Sep 17 00:00:00 2001 From: Sunny King Date: Sun, 9 Sep 2012 21:08:58 +0100 Subject: [PATCH] PPCoin: Print full block hash to debug log with -printblocktree --- src/main.cpp | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index e4e6acf..04886ed 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -2388,11 +2388,11 @@ void PrintBlockTree() // print item CBlock block; block.ReadFromDisk(pindex); - printf("%d (%u,%u) %s %08lx %s mint %s tx %d", + printf("%d (%u,%u) %s %08lx %s mint %7s tx %d", pindex->nHeight, pindex->nFile, pindex->nBlockPos, - block.GetHash().ToString().substr(0,20).c_str(), + block.GetHash().ToString().c_str(), block.nBits, DateTimeStrFormat(block.GetBlockTime()).c_str(), FormatMoney(pindex->nMint).c_str(), -- 1.7.1