diff options
| author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-08-09 23:21:11 +0100 |
|---|---|---|
| committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-08-12 11:57:05 +0100 |
| commit | 88e83f94276113c002bc95afa732c468402d6077 (patch) | |
| tree | eb37502e44e3c193149fcf1c74833de6b36c7803 /src/cryptonote_protocol | |
| parent | 181a008aa35f130e046ec906cbb1b2436a381a62 (diff) | |
| download | monzero-core-88e83f94276113c002bc95afa732c468402d6077.tar.gz monzero-core-88e83f94276113c002bc95afa732c468402d6077.tar.xz monzero-core-88e83f94276113c002bc95afa732c468402d6077.zip | |
cryptonote_protocol_handler: log versions as unsigned ints
They're interpreted as characters otherwise
Diffstat (limited to 'src/cryptonote_protocol')
| -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 3e3bb83d0..761e8350b 100644 --- a/src/cryptonote_protocol/cryptonote_protocol_handler.inl +++ b/src/cryptonote_protocol/cryptonote_protocol_handler.inl @@ -260,7 +260,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; } |
