mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
Merge pull request #6566
567402c
protocol: move the 'peer claims higher version' warning to debug (moneromooo-monero)
This commit is contained in:
commit
f1334ebf64
1 changed files with 2 additions and 2 deletions
|
@ -308,9 +308,9 @@ namespace cryptonote
|
||||||
if (version >= 6 && version != hshd.top_version)
|
if (version >= 6 && version != hshd.top_version)
|
||||||
{
|
{
|
||||||
if (version < hshd.top_version && version == m_core.get_ideal_hard_fork_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 <<
|
(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;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue