|
|
@ -1918,7 +1918,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;
|
|
|
|