Skip to content

Commit

Permalink
perf: rm redundant collect (#6895)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsse authored Feb 29, 2024
1 parent 2a2c56d commit 907d8ff
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions crates/transaction-pool/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 907d8ff

Please sign in to comment.