mirror of
https://github.com/monero-project/monero.git
synced 2024-11-17 16:27:39 +00:00
Merge pull request #5637
69f9420
core: do not complain about low block rate if disconnected (moneromooo-monero)
This commit is contained in:
commit
1167370239
1 changed files with 1 additions and 1 deletions
|
@ -1844,7 +1844,7 @@ namespace cryptonote
|
|||
//-----------------------------------------------------------------------------------------------
|
||||
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");
|
||||
return true;
|
||||
|
|
Loading…
Reference in a new issue