Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix fast-shutdown crash if genesis block was not loaded
If the ShutdownRequested() check at the top of ActivateBestChain() returns false during initial genesis block load we will fail an assertion in UTXO DB flush as the best block hash IsNull(). To work around this, we move the check until after one round of ActivateBestChainStep(), ensuring the genesis block gets connected. Github-Pull: #2290 Rebased-From: 8640be1
- Loading branch information