mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-18 13:17:55 +02:00
validation: Make LoadBlockIndex() a member of ChainstateManager
This commit is contained in:
parent
fa05fdf0f1
commit
fa84b1cd84
3 changed files with 11 additions and 11 deletions
|
|
@ -1582,7 +1582,7 @@ bool AppInitMain(const util::Ref& context, NodeContext& node)
|
|||
// block file from disk.
|
||||
// Note that it also sets fReindex based on the disk flag!
|
||||
// From here on out fReindex and fReset mean something different!
|
||||
if (!LoadBlockIndex(chainparams)) {
|
||||
if (!chainman.LoadBlockIndex(chainparams)) {
|
||||
if (ShutdownRequested()) break;
|
||||
strLoadError = _("Error loading block database");
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue