wallet: Set DatabaseStatus::SUCCESS in MakeSQLiteDatabase

This commit is contained in:
MarcoFalke 2020-11-05 20:40:55 +01:00
parent f5cdc290d5
commit faf5fa7413
No known key found for this signature in database
GPG key ID: CE2B75697E69A548

View file

@ -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;