diff options
| author | xanatos <[email protected]> | 2012-08-28 23:25:52 +0300 |
|---|---|---|
| committer | xanatos <[email protected]> | 2012-08-28 23:25:52 +0300 |
| commit | 9eb7fc58426e8d3afedd9959c21566a3d2eaf6d8 (patch) | |
| tree | 8d1425387099927c2fec83ae78065b9d5d77886b /src | |
| parent | Merge pull request #1741 from freewil/release-notes-remove-i2p (diff) | |
| download | discoin-9eb7fc58426e8d3afedd9959c21566a3d2eaf6d8.tar.xz discoin-9eb7fc58426e8d3afedd9959c21566a3d2eaf6d8.zip | |
Changed nprev->pprev
It should be pprev, because the next one is pnext, and it's printing the memory address of the CBlockIndex (so pSomething).
Diffstat (limited to 'src')
| -rw-r--r-- | src/main.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.h b/src/main.h index dc9f9ee74..b8057a295 100644 --- a/src/main.h +++ b/src/main.h @@ -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()); |