This commit is contained in:
jl777
2017-02-03 16:56:54 +02:00
parent 752862fdcd
commit d042777bca
2 changed files with 7 additions and 2 deletions

View File

@@ -3856,8 +3856,13 @@ void UnloadBlockIndex()
bool LoadBlockIndex()
{
// Load block index from databases
KOMODO_LOADINGBLOCKS = 1;
if (!fReindex && !LoadBlockIndexDB())
{
KOMODO_LOADINGBLOCKS = 0;
return false;
}
KOMODO_LOADINGBLOCKS = 0;
return true;
}