diff options
author | MarcoFalke <falke.marco@gmail.com> | 2020-11-05 20:40:55 +0100 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2020-11-05 20:48:41 +0100 |
commit | faf5fa74136b0117f02c5aa525bfff86654786ea (patch) | |
tree | e298bdb3a0e999a4f748d391ccfaa16ed594a3fd /src/wallet/sqlite.cpp | |
parent | f5cdc290d5a41895d2bbaf474c3a951e5141b8a9 (diff) |
wallet: Set DatabaseStatus::SUCCESS in MakeSQLiteDatabase
Diffstat (limited to 'src/wallet/sqlite.cpp')
-rw-r--r-- | src/wallet/sqlite.cpp | 1 |
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; |