File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -1744,11 +1744,10 @@ bool IsInitialBlockDownload()
17441744 return true ;
17451745 if (chainActive.Tip ()->nChainWork < UintToArith256 (chainParams.GetConsensus ().nMinimumChainWork ))
17461746 return true ;
1747- bool state = (chainActive.Height () < pindexBestHeader->nHeight - 24 * 6 ||
1748- std::max (chainActive.Tip ()->GetBlockTime (), pindexBestHeader->GetBlockTime ()) < GetTime () - nMaxTipAge);
1749- if (!state)
1750- latchToFalse.store (true , std::memory_order_relaxed);
1751- return state;
1747+ if (chainActive.Tip ()->GetBlockTime () < (GetTime () - nMaxTipAge))
1748+ return true ;
1749+ latchToFalse.store (true , std::memory_order_relaxed);
1750+ return false ;
17521751}
17531752
17541753bool fLargeWorkForkFound = false ;
You can’t perform that action at this time.
0 commit comments