aboutsummaryrefslogtreecommitdiff
path: root/src/primitives
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2016-03-31 13:24:39 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2016-03-31 13:24:50 +0200
commit3081fb9a31054224759453c3ca400b9076ab8004 (patch)
tree7ec2c10af1e4fcf42a6df860df0d9eca42f59a3c /src/primitives
parent7c80e720402dcb7c26be7da2aaa5a39a34feddaf (diff)
parenteff736e55e84441f9509285e83a1a6ee9a0c6e69 (diff)
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.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/primitives/block.cpp b/src/primitives/block.cpp
index 59e949d71a..6fb33230a5 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(),