mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-14 12:43:40 +02:00
Merge da612cea03 into merged_master (Bitcoin PR bitcoin/bitcoin#30962)
This commit is contained in:
commit
9d1caaea8e
1 changed files with 2 additions and 1 deletions
|
|
@ -2254,7 +2254,8 @@ void Chainstate::CheckForkWarningConditions()
|
|||
|
||||
// Before we get past initial download, we cannot reliably alert about forks
|
||||
// (we assume we don't get stuck on a fork before finishing our initial sync)
|
||||
if (m_chainman.IsInitialBlockDownload()) {
|
||||
// Also not applicable to the background chainstate
|
||||
if (m_chainman.IsInitialBlockDownload() || this->GetRole() == ChainstateRole::BACKGROUND) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue