Once insync, not initial download

This commit is contained in:
jl777
2018-11-24 05:03:57 -11:00
parent a3d12679fc
commit 248f0d15f0

View File

@@ -2259,7 +2259,8 @@ bool IsInitialBlockDownload()
}
state = ((chainActive.Height() < ptr->GetHeight() - 24*60) ||
ptr->GetBlockTime() < (GetTime() - nMaxTipAge));
if ( KOMODO_INSYNC != 0 )
state = false;
if (!state)
{
LogPrintf("Leaving InitialBlockDownload (latching to false)\n");