mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-14 12:43:40 +02:00
Merge 1c177c3a00 into merged_master (Bitcoin PR #16015)
This commit is contained in:
commit
a835ebdb2f
1 changed files with 1 additions and 0 deletions
|
|
@ -4602,6 +4602,7 @@ bool RewindBlockIndex(const CChainParams& params) {
|
|||
return false;
|
||||
}
|
||||
|
||||
LOCK(cs_main);
|
||||
if (::ChainActive().Tip() != nullptr) {
|
||||
// FlushStateToDisk can possibly read ::ChainActive(). Be conservative
|
||||
// and skip it here, we're about to -reindex-chainstate anyway, so
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue