diff --git a/src/wallet/sqlite.cpp b/src/wallet/sqlite.cpp index 3d21529fbb..d83332c194 100644 --- a/src/wallet/sqlite.cpp +++ b/src/wallet/sqlite.cpp @@ -581,6 +581,7 @@ std::unique_ptr MakeSQLiteDatabase(const fs::path& path, const D status = DatabaseStatus::FAILED_VERIFY; return nullptr; } + status = DatabaseStatus::SUCCESS; return db; } catch (const std::runtime_error& e) { status = DatabaseStatus::FAILED_LOAD;