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()
1744
1744
return true ;
1745
1745
if (chainActive.Tip ()->nChainWork < UintToArith256 (chainParams.GetConsensus ().nMinimumChainWork ))
1746
1746
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 ;
1752
1751
}
1753
1752
1754
1753
bool fLargeWorkForkFound = false ;
You can’t perform that action at this time.
0 commit comments