Browse Source

Merge pull request #1743 from xanatos/patch-14

Changed nprev->pprev
miguelfreitas
Wladimir J. van der Laan 12 years ago
parent
commit
9d7da11458
  1. 2
      src/main.h

2
src/main.h

@ -1174,7 +1174,7 @@ public:
std::string ToString() const 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, pprev, pnext, nFile, nBlockPos, nHeight,
hashMerkleRoot.ToString().substr(0,10).c_str(), hashMerkleRoot.ToString().substr(0,10).c_str(),
GetBlockHash().ToString().substr(0,20).c_str()); GetBlockHash().ToString().substr(0,20).c_str());

Loading…
Cancel
Save