aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2015-11-23 15:53:59 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2015-11-23 15:53:59 +0000
commit53c75ab4a0e21fe3e6a5958ae76b241b5c2fcd45 (patch)
tree154e544e438d9fa383dd99403d53246d8ba3ed1d /src
parenthardfork: fix actual/voting confusion (diff)
downloadmonero-53c75ab4a0e21fe3e6a5958ae76b241b5c2fcd45.tar.xz
blockchain: log versions as numbers, not characters
Diffstat (limited to 'src')
-rw-r--r--src/cryptonote_core/blockchain.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cryptonote_core/blockchain.cpp b/src/cryptonote_core/blockchain.cpp
index 8bb63ad09..3b04bf941 100644
--- a/src/cryptonote_core/blockchain.cpp
+++ b/src/cryptonote_core/blockchain.cpp
@@ -2338,7 +2338,7 @@ bool Blockchain::handle_block_to_main_chain(const block& bl, const crypto::hash&
// this is a cheap test
if (!m_hardfork->check(bl))
{
- LOG_PRINT_L1("Block with id: " << id << std::endl << "has old version: " << bl.major_version << std::endl << "current: " << m_hardfork->get_current_version());
+ LOG_PRINT_L1("Block with id: " << id << std::endl << "has old version: " << (unsigned)bl.major_version << std::endl << "current: " << (unsigned)m_hardfork->get_current_version());
return false;
}