mirror of
https://github.com/monero-project/monero.git
synced 2024-12-25 11:59:27 -05:00
cryptonote_protocol: print peer top height along with its version
This commit is contained in:
parent
b5345ef4f0
commit
727e67cada
@ -268,7 +268,7 @@ namespace cryptonote
|
|||||||
const uint8_t version = m_core.get_ideal_hard_fork_version(hshd.current_height - 1);
|
const uint8_t version = m_core.get_ideal_hard_fork_version(hshd.current_height - 1);
|
||||||
if (version >= 6 && version != hshd.top_version)
|
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;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user