Skip to content

Commit faf5fa7

Browse files
author
MarcoFalke
committed
wallet: Set DatabaseStatus::SUCCESS in MakeSQLiteDatabase
1 parent f5cdc29 commit faf5fa7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/wallet/sqlite.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -581,6 +581,7 @@ std::unique_ptr<SQLiteDatabase> MakeSQLiteDatabase(const fs::path& path, const D
581581
status = DatabaseStatus::FAILED_VERIFY;
582582
return nullptr;
583583
}
584+
status = DatabaseStatus::SUCCESS;
584585
return db;
585586
} catch (const std::runtime_error& e) {
586587
status = DatabaseStatus::FAILED_LOAD;

0 commit comments

Comments
 (0)