perf: rm redundant collect (#6895)

This commit is contained in:
Matthias Seitz
2024-02-29 22:37:46 +01:00
committed by GitHub
parent 2a2c56dbc6
commit 907d8ff127

View File

@ -242,8 +242,6 @@ where
) -> Vec<(TxHash, TransactionValidationOutcome<V::Transaction>)> {
futures_util::future::join_all(transactions.into_iter().map(|tx| self.validate(origin, tx)))
.await
.into_iter()
.collect()
}
/// Validates the given transaction