diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-08-21 21:55:10 +0100 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-08-23 13:38:06 +0100 |
commit | 727e67cadaeea1a992326e1aec6de028bb791360 (patch) | |
tree | 673aff8626394b0e6b3964c4e0b59e3e701f4819 /src/cryptonote_protocol | |
parent | crypto: use malloc instead of alloca (diff) | |
download | monero-727e67cadaeea1a992326e1aec6de028bb791360.tar.xz |
cryptonote_protocol: print peer top height along with its version
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 87690f1fc..684c9484f 100644 --- a/src/cryptonote_protocol/cryptonote_protocol_handler.inl +++ b/src/cryptonote_protocol/cryptonote_protocol_handler.inl @@ -268,7 +268,7 @@ namespace cryptonote const uint8_t version = m_core.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 " << (unsigned)hshd.top_version << ", expected " << (unsigned)version); + LOG_DEBUG_CC(context, "Ignoring due to wrong top version for block " << (hshd.current_height - 1) << ": " << (unsigned)hshd.top_version << ", expected " << (unsigned)version); return false; } |