From 8f9d4727e442de74425507f664cd8c4aabd54132 Mon Sep 17 00:00:00 2001 From: jl777 Date: Wed, 15 Mar 2017 10:31:32 +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 f380dab81..fa7023d0d 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1547,7 +1547,7 @@ bool IsInitialBlockDownload() state = (chainActive.Height() < pindexBestHeader->nHeight - 24*6) || pindexBestHeader->GetBlockTime() < (GetTime() - chainParams.MaxTipAge()); else state = (chainActive.Height() < pindexBestHeader->nHeight - 100); - fprintf(stderr,"state.%d ht.%d t.%d\n",state,(int32_t)chainActive.Height(),(int32_t)pindexBestHeader->GetBlockTime()); + fprintf(stderr,"state.%d ht.%d vs %d, t.%u %u\n",state,(int32_t)chainActive.Height(),(uint32_t)pindexBestHeader->nHeight,(int32_t)pindexBestHeader->GetBlockTime(),(uint32_t)(GetTime() - chainParams.MaxTipAge())); if (!state) { lockIBDState = true;