Only log an error if fork version is higher AND is not known.
This commit is contained in:
@@ -271,7 +271,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)
|
||||
{
|
||||
if (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 that 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");
|
||||
|
||||
Reference in New Issue
Block a user