diff --git a/src/wallet/sqlite.cpp b/src/wallet/sqlite.cpp index 3d21529fbbb..d83332c194c 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;