mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
core: do not complain about low block rate if disconnected
In that case, we'll still keep the "Monero is now disconnected from the network" near the end of the log
This commit is contained in:
parent
fd0cf689dd
commit
69f9420489
1 changed files with 1 additions and 1 deletions
|
@ -1833,7 +1833,7 @@ namespace cryptonote
|
||||||
//-----------------------------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------------------------
|
||||||
bool core::check_block_rate()
|
bool core::check_block_rate()
|
||||||
{
|
{
|
||||||
if (m_offline || m_nettype == FAKECHAIN || m_target_blockchain_height > get_current_blockchain_height())
|
if (m_offline || m_nettype == FAKECHAIN || m_target_blockchain_height > get_current_blockchain_height() || m_target_blockchain_height == 0)
|
||||||
{
|
{
|
||||||
MDEBUG("Not checking block rate, offline or syncing");
|
MDEBUG("Not checking block rate, offline or syncing");
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in a new issue