From c031c2c759507bea01044661b7eb4fa13ba161a5 Mon Sep 17 00:00:00 2001 From: jl777 Date: Sun, 15 Apr 2018 19:01:39 +0300 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 4da0dfadb..b06fb875d 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -3526,7 +3526,7 @@ int32_t komodo_reverify_blockcheck(int32_t height,CBlockIndex *pindex) CBlockIndex *tipindex; CBlock _block; if ( (tipindex= chainActive.Tip()) != 0 && height >= tipindex->nHeight && IsInitialBlockDownload() == 0 ) { - if ( KOMODO_LONGESTCHAIN > height+100 || GetAdjustedTime() > tipindex->nTime+3600 ) + if ( KOMODO_LONGESTCHAIN > height+100 && GetAdjustedTime() > tipindex->nTime+3600 ) { fprintf(stderr,"tip.%d longest.%d newblock.%d lag.%d blocktime.%u\n",tipindex->nHeight,KOMODO_LONGESTCHAIN,height,(int32_t)(GetAdjustedTime() - tipindex->nTime),tipindex->nTime); KOMODO_REWIND = tipindex->nHeight - 11;