diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2016-03-29 16:46:20 +0200 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2016-03-31 12:28:34 +0200 |
commit | eff736e55e84441f9509285e83a1a6ee9a0c6e69 (patch) | |
tree | 1e4377da56b7bb28d72da4a1709160b829a161c0 /src/primitives | |
parent | 0b98dd7939674b61c28252d14b3fbd0f51d3912b (diff) |
Reformat version in UpdateTip and other messages
Also remove the hardly-readable nBits from UpdateTip's log message.
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 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(), |