Merge pull request #2275

88e83f94 cryptonote_protocol_handler: log versions as unsigned ints (moneromooo-monero)
This commit is contained in:
Riccardo Spagni 2017-08-15 20:53:08 +02:00
commit 86cf8cac86
No known key found for this signature in database
GPG Key ID: 55432DF31CCD4FCD
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}