From 412bb6a82402d5008126ee857e985857031b5e72 Mon Sep 17 00:00:00 2001 From: jl777 Date: Sun, 15 Apr 2018 19:32:35 +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 5f221d581..4c4038516 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -3523,7 +3523,7 @@ int32_t komodo_check_deposit(int32_t height,const CBlock& block,uint32_t prevtim int32_t komodo_reverify_blockcheck(CValidationState& state,int32_t height,CBlockIndex *pindex) { CBlockIndex *tipindex; int32_t rewindtarget; - if ( IsInitialBlockDownload() == 0 && (tipindex= chainActive.Tip()) != 0 && height >= tipindex->nHeight-10 ) + if ( IsInitialBlockDownload() == 0 && (tipindex= chainActive.Tip()) != 0 ) { // if 200 blocks behind longestchain and no blocks for 2 hours if ( KOMODO_LONGESTCHAIN > height+200 )