mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-25 02:33:24 -03: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;
|
||||
return nullptr;
|
||||
}
|
||||
status = DatabaseStatus::SUCCESS;
|
||||
return db;
|
||||
} catch (const std::runtime_error& e) {
|
||||
status = DatabaseStatus::FAILED_LOAD;
|
||||
|
|
Loading…
Add table
Reference in a new issue