diff options
author | luigi1111 <luigi1111w@gmail.com> | 2019-08-15 17:09:15 -0500 |
---|---|---|
committer | luigi1111 <luigi1111w@gmail.com> | 2019-08-15 17:09:15 -0500 |
commit | 11673702395e119e3759d87c5d1a16d22f7b5f2d (patch) | |
tree | 64ed4228f85287fcf6141f3c0750372ea440b3d6 /src | |
parent | Merge pull request #5634 (diff) | |
parent | core: do not complain about low block rate if disconnected (diff) | |
download | monero-11673702395e119e3759d87c5d1a16d22f7b5f2d.tar.xz |
Merge pull request #5637
69f9420 core: do not complain about low block rate if disconnected (moneromooo-monero)
Diffstat (limited to 'src')
-rw-r--r-- | src/cryptonote_core/cryptonote_core.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cryptonote_core/cryptonote_core.cpp b/src/cryptonote_core/cryptonote_core.cpp index 2ebd99904..a3a92ab60 100644 --- a/src/cryptonote_core/cryptonote_core.cpp +++ b/src/cryptonote_core/cryptonote_core.cpp @@ -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; |