aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/sqlite.cpp
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2020-11-05 20:40:55 +0100
committerMarcoFalke <falke.marco@gmail.com>2020-11-05 20:48:41 +0100
commitfaf5fa74136b0117f02c5aa525bfff86654786ea (patch)
treee298bdb3a0e999a4f748d391ccfaa16ed594a3fd /src/wallet/sqlite.cpp
parentf5cdc290d5a41895d2bbaf474c3a951e5141b8a9 (diff)
wallet: Set DatabaseStatus::SUCCESS in MakeSQLiteDatabase
Diffstat (limited to 'src/wallet/sqlite.cpp')
-rw-r--r--src/wallet/sqlite.cpp1
1 files changed, 1 insertions, 0 deletions
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<SQLiteDatabase> 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;