diff --git a/src/main.cpp b/src/main.cpp index 6e18120c9..bd80a4eae 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -2885,7 +2885,7 @@ static bool ActivateBestChainStep(CValidationState &state, CBlockIndex *pindexMo if (!DisconnectTip(state)) return false; } - if ( KOMODO_REWIND != 0 && (KOMODO_REWIND < 0 || chainActive.Tip()->nHeight >= KOMODO_REWIND) ) + if ( KOMODO_REWIND != 0 ) { fprintf(stderr,"rewind ht.%d\n",chainActive.Tip()->nHeight); while ( chainActive.Tip()->nHeight > KOMODO_REWIND )