From d1cd2af5f4a690f989dcd160a71f2d9da0604c4d Mon Sep 17 00:00:00 2001 From: jl777 Date: Mon, 23 Apr 2018 22:56:28 +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 6b15ea775..951558e52 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -3762,7 +3762,7 @@ bool CheckBlockHeader(int32_t height,CBlockIndex *pindex, const CBlockHeader& bl { CBlockIndex *tipindex; fprintf(stderr,"future block %u vs time.%u + 60\n",(uint32_t)blockhdr.GetBlockTime(),(uint32_t)GetAdjustedTime()); - if ( (tipindex= chainActive().Tip()) != 0 && tipindex->GetBlockHash() == blockhdr.hashPrevBlock && blockhdr.GetBlockTime() < GetAdjustedTime() + 60*2 ) + if ( (tipindex= chainActive.Tip()) != 0 && tipindex->GetBlockHash() == blockhdr.hashPrevBlock && blockhdr.GetBlockTime() < GetAdjustedTime() + 60*2 ) { fprintf(stderr,"it is the next block, let's wait a bit\n"); while ( blockhdr.GetBlockTime() > GetAdjustedTime() + 60 )