From faf5fa74136b0117f02c5aa525bfff86654786ea Mon Sep 17 00:00:00 2001 From: MarcoFalke Date: Thu, 5 Nov 2020 20:40:55 +0100 Subject: [PATCH] wallet: Set DatabaseStatus::SUCCESS in MakeSQLiteDatabase --- src/wallet/sqlite.cpp | 1 + 1 file changed, 1 insertion(+) 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;