From c10c5d1368479c0e63bca66e38cf9fa7d738633b Mon Sep 17 00:00:00 2001 From: jl777 Date: Wed, 15 Mar 2017 10:20:26 +0200 Subject: [PATCH] Test --- src/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 31ee26c8e..c26aa990a 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1544,12 +1544,12 @@ bool IsInitialBlockDownload() } bool state; if ( ASSETCHAINS_SYMBOL[0] == 0 ) - state = (chainActive.Height() > 236000 && chainActive.Height() < pindexBestHeader->nHeight - 24*6) || + state = (chainActive.Height() < pindexBestHeader->nHeight - 24*6) || pindexBestHeader->GetBlockTime() < (GetTime() - chainParams.MaxTipAge()); else state = (chainActive.Height() < pindexBestHeader->nHeight - 100); if (!state) { - //fprintf(stderr,"lockIBDState tru\n"); + fprintf(stderr,"lockIBDState true ht.%d t.%d\n",chainActive.Height(),pindexBestHeader->GetBlockTime()); lockIBDState = true; } return state;