diff options
author | Riccardo Spagni <ric@spagni.net> | 2017-08-15 20:53:08 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2017-08-15 20:53:08 +0200 |
commit | 86cf8cac862404f89f1a2e9b4151218c2b975e1b (patch) | |
tree | 87bfaadffd4b16b5d43473829a3960f93c0285af /src/cryptonote_protocol/cryptonote_protocol_handler.inl | |
parent | Merge pull request #2236 (diff) | |
parent | cryptonote_protocol_handler: log versions as unsigned ints (diff) | |
download | monero-86cf8cac862404f89f1a2e9b4151218c2b975e1b.tar.xz |
Merge pull request #2275
88e83f94 cryptonote_protocol_handler: log versions as unsigned ints (moneromooo-monero)
Diffstat (limited to 'src/cryptonote_protocol/cryptonote_protocol_handler.inl')
-rw-r--r-- | src/cryptonote_protocol/cryptonote_protocol_handler.inl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cryptonote_protocol/cryptonote_protocol_handler.inl b/src/cryptonote_protocol/cryptonote_protocol_handler.inl index 06a5356fe..e4ce45112 100644 --- a/src/cryptonote_protocol/cryptonote_protocol_handler.inl +++ b/src/cryptonote_protocol/cryptonote_protocol_handler.inl @@ -262,7 +262,7 @@ namespace cryptonote const uint8_t version = m_core.get_blockchain_storage().get_ideal_hard_fork_version(hshd.current_height - 1); if (version >= 6 && version != hshd.top_version) { - LOG_DEBUG_CC(context, "Ignoring due to wrong top version (" << hshd.top_version << ", expected " << version); + LOG_DEBUG_CC(context, "Ignoring due to wrong top version " << (unsigned)hshd.top_version << ", expected " << (unsigned)version); return false; } |