Merge pull request #1743 from xanatos/patch-14

Changed nprev->pprev
This commit is contained in:
Wladimir J. van der Laan 2012-09-03 08:11:36 -07:00
commit 9d7da11458
1 changed files with 1 additions and 1 deletions

View File

@ -1174,7 +1174,7 @@ public:
std::string ToString() const
{
return strprintf("CBlockIndex(nprev=%08x, pnext=%08x, nFile=%d, nBlockPos=%-6d nHeight=%d, merkle=%s, hashBlock=%s)",
return strprintf("CBlockIndex(pprev=%08x, pnext=%08x, nFile=%d, nBlockPos=%-6d nHeight=%d, merkle=%s, hashBlock=%s)",
pprev, pnext, nFile, nBlockPos, nHeight,
hashMerkleRoot.ToString().substr(0,10).c_str(),
GetBlockHash().ToString().substr(0,20).c_str());