mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-18 13:17:55 +02:00
wallet: Set DatabaseStatus::SUCCESS in MakeSQLiteDatabase
This commit is contained in:
parent
f5cdc290d5
commit
faf5fa7413
1 changed files with 1 additions and 0 deletions
|
|
@ -581,6 +581,7 @@ std::unique_ptr<SQLiteDatabase> MakeSQLiteDatabase(const fs::path& path, const D
|
||||||
status = DatabaseStatus::FAILED_VERIFY;
|
status = DatabaseStatus::FAILED_VERIFY;
|
||||||
return nullptr;
|
return nullptr;
|
||||||
}
|
}
|
||||||
|
status = DatabaseStatus::SUCCESS;
|
||||||
return db;
|
return db;
|
||||||
} catch (const std::runtime_error& e) {
|
} catch (const std::runtime_error& e) {
|
||||||
status = DatabaseStatus::FAILED_LOAD;
|
status = DatabaseStatus::FAILED_LOAD;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue