mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 20:12:57 +01:00
Output line to debug.log when IsInitialBlockDownload latches to false
This commit is contained in:
parent
79aeff6e08
commit
65d484adf9
@ -1141,6 +1141,7 @@ bool IsInitialBlockDownload()
|
||||
return true;
|
||||
if (chainActive.Tip()->GetBlockTime() < (GetTime() - nMaxTipAge))
|
||||
return true;
|
||||
LogPrintf("Leaving InitialBlockDownload (latching to false)\n");
|
||||
latchToFalse.store(true, std::memory_order_relaxed);
|
||||
return false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user