This commit is contained in:
jl777
2017-03-18 09:22:37 +02:00
parent 4ce30f9076
commit 4f7720b392

View File

@@ -2773,7 +2773,7 @@ static bool ActivateBestChainStep(CValidationState &state, CBlockIndex *pindexMo
{ {
//static int32_t didinit; //static int32_t didinit;
//if ( didinit++ == 0 ) //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); fprintf(stderr,"reached rewind.%d, ./komodo-cli stop now\n",KOMODO_REWIND);
sleep(3); sleep(3);