diff --git a/src/main.cpp b/src/main.cpp index b33313d30..2defb8571 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -3855,6 +3855,7 @@ void UnloadBlockIndex() bool LoadBlockIndex() { + extern int32_t KOMODO_LOADINGBLOCKS; // Load block index from databases KOMODO_LOADINGBLOCKS = 1; if (!fReindex && !LoadBlockIndexDB())