diff --git a/src/validation.cpp b/src/validation.cpp index aec38a6b164..d25227dd563 100644 --- a/src/validation.cpp +++ b/src/validation.cpp @@ -3512,6 +3512,7 @@ bool CChainState::ActivateBestChainStep(CValidationState& state, const CChainPar if (state.IsInvalid()) { // The block violates a consensus rule. auto reason = state.GetReason(); + if (reason == ValidationInvalidReason::BLOCK_INVALID_HEADER) { // at this stage only high hash error can be in header // so just skip that block @@ -3526,7 +3527,7 @@ bool CChainState::ActivateBestChainStep(CValidationState& state, const CChainPar // so we should not shoutdown entire network, let's skip it continue; } else if (reason == ValidationInvalidReason::CONSENSUS) { - if (pindexConnect->nHeight == chainparams.GetConsensus().EunosHeight) { + if (pindexConnect->nHeight >= chainparams.GetConsensus().EunosHeight) { auto strReason = state.GetRejectReason(); // we have situation when old masternode will generate a block // that has coinbase higher than post Eunos fork @@ -6147,4 +6148,4 @@ class CMainCleanup g_blockman.m_block_index.clear(); } }; -static CMainCleanup instance_of_cmaincleanup; +static CMainCleanup instance_of_cmaincleanup; \ No newline at end of file