mirror of
https://github.com/monero-project/monero.git
synced 2024-12-27 07:19:24 -05:00
cryptonote_protocol_handler: log versions as unsigned ints
They're interpreted as characters otherwise
This commit is contained in:
parent
181a008aa3
commit
88e83f9427
@ -260,7 +260,7 @@ namespace cryptonote
|
|||||||
const uint8_t version = m_core.get_blockchain_storage().get_ideal_hard_fork_version(hshd.current_height - 1);
|
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)
|
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;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user