mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-16 13:01:19 +02:00
Merge 968f03e65c into merged_master (Bitcoin PR bitcoin/bitcoin#26477)
This commit is contained in:
commit
df79b3ac40
2 changed files with 15 additions and 10 deletions
|
|
@ -1642,7 +1642,7 @@ bool Chainstate::IsInitialBlockDownload() const
|
|||
if (m_chain.Tip()->nChainWork < m_chainman.MinimumChainWork()) {
|
||||
return true;
|
||||
}
|
||||
if (m_chain.Tip()->Time() < NodeClock::now() - m_chainman.m_options.max_tip_age) {
|
||||
if (m_chain.Tip()->Time() < Now<NodeSeconds>() - m_chainman.m_options.max_tip_age) {
|
||||
return true;
|
||||
}
|
||||
LogPrintf("Leaving InitialBlockDownload (latching to false)\n");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue