wallet: Set DatabaseStatus::SUCCESS in MakeSQLiteDatabase

pull/764/head
MarcoFalke 4 years ago
parent f5cdc290d5
commit faf5fa7413
No known key found for this signature in database
GPG Key ID: CE2B75697E69A548

@ -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…
Cancel
Save