From 8abcd8195e58b453fa613634afb7ea3beb294489 Mon Sep 17 00:00:00 2001 From: jl777 Date: Fri, 24 Mar 2017 04:20:04 +0200 Subject: [PATCH] Test --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 )