Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: reset chainman to allow reindex on failure (#5405)
## Issue being fixed or feature implemented current develop fails to reindex whenever there is an issue at node start (prints `should not be overwriting a chainstate` in `debug.log`) ## What was done? reset chainman to allow it re-initialize chainstate ## How Has This Been Tested? simulated an issue with ``` if (!fReset) { strLoadError = _("DEBUG"); break; } ``` ## Breaking Changes should not be any but pls test ## Checklist: - [x] I have performed a self-review of my own code - [ ] I have commented my code, particularly in hard-to-understand areas - [ ] I have added or updated relevant unit/integration/functional/e2e tests - [ ] I have made corresponding changes to the documentation - [x] I have assigned this pull request to a milestone _(for repository code-owners and collaborators only)_
- Loading branch information