diff options
| author | Wladimir J. van der Laan <[email protected]> | 2016-03-31 13:24:39 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2016-03-31 13:24:50 +0200 |
| commit | 3081fb9a31054224759453c3ca400b9076ab8004 (patch) | |
| tree | 7ec2c10af1e4fcf42a6df860df0d9eca42f59a3c /src/primitives | |
| parent | Merge #7773: Fix comments in tests (diff) | |
| parent | Reformat version in UpdateTip and other messages (diff) | |
| download | discoin-3081fb9a31054224759453c3ca400b9076ab8004.tar.xz discoin-3081fb9a31054224759453c3ca400b9076ab8004.zip | |
Merge #7763: Put hex-encoded version in UpdateTip
eff736e Reformat version in UpdateTip and other messages (Pieter Wuille)
Diffstat (limited to 'src/primitives')
| -rw-r--r-- | src/primitives/block.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/primitives/block.cpp b/src/primitives/block.cpp index 59e949d71..6fb33230a 100644 --- a/src/primitives/block.cpp +++ b/src/primitives/block.cpp @@ -18,7 +18,7 @@ uint256 CBlockHeader::GetHash() const std::string CBlock::ToString() const { std::stringstream s; - s << strprintf("CBlock(hash=%s, ver=%d, hashPrevBlock=%s, hashMerkleRoot=%s, nTime=%u, nBits=%08x, nNonce=%u, vtx=%u)\n", + s << strprintf("CBlock(hash=%s, ver=0x%08x, hashPrevBlock=%s, hashMerkleRoot=%s, nTime=%u, nBits=%08x, nNonce=%u, vtx=%u)\n", GetHash().ToString(), nVersion, hashPrevBlock.ToString(), |