aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2020-07-08 17:08:58 -0500
committerluigi1111 <luigi1111w@gmail.com>2020-07-08 17:08:58 -0500
commitf1334ebf64dcc6913f0c814620f0a82686b4501d (patch)
tree819bdd94d9ea29d69f3b33d200cba67e564ff928
parent35e2520115835463c55840912d2dc0f89e32ab97 (diff)
parent567402c508b648c6b694e764db47662c44587bac (diff)
downloadmonzero-core-f1334ebf64dcc6913f0c814620f0a82686b4501d.tar.gz
monzero-core-f1334ebf64dcc6913f0c814620f0a82686b4501d.tar.xz
monzero-core-f1334ebf64dcc6913f0c814620f0a82686b4501d.zip
Merge pull request #6566
567402c protocol: move the 'peer claims higher version' warning to debug (moneromooo-monero)
-rw-r--r--src/cryptonote_protocol/cryptonote_protocol_handler.inl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cryptonote_protocol/cryptonote_protocol_handler.inl b/src/cryptonote_protocol/cryptonote_protocol_handler.inl
index dd7e4d8a7..cd0b059fe 100644
--- a/src/cryptonote_protocol/cryptonote_protocol_handler.inl
+++ b/src/cryptonote_protocol/cryptonote_protocol_handler.inl
@@ -308,9 +308,9 @@ namespace cryptonote
if (version >= 6 && version != hshd.top_version)
{
if (version < hshd.top_version && version == m_core.get_ideal_hard_fork_version())
- MCLOG_RED(el::Level::Warning, "global", context << " peer claims higher version than we think (" <<
+ MDEBUG(context << " peer claims higher version than we think (" <<
(unsigned)hshd.top_version << " for " << (hshd.current_height - 1) << " instead of " << (unsigned)version <<
- ") - we may be forked from the network and a software upgrade may be needed");
+ ") - we may be forked from the network and a software upgrade may be needed, or that peer is broken or malicious");
return false;
}
}