From 4f7720b3928b847ed3ccadc804c2fc1c0e1bccdc Mon Sep 17 00:00:00 2001 From: jl777 Date: Sat, 18 Mar 2017 09:22:37 +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 3b16b0da1..d8fb9f35e 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -2773,7 +2773,7 @@ static bool ActivateBestChainStep(CValidationState &state, CBlockIndex *pindexMo { //static int32_t didinit; //if ( didinit++ == 0 ) - if ( chainActive.Tip()->nHeight == KOMODO_REWIND ) + if ( chainActive.Tip()->nHeight == KOMODO_REWIND+1 ) { fprintf(stderr,"reached rewind.%d, ./komodo-cli stop now\n",KOMODO_REWIND); sleep(3);