mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 19:09:54 +00:00
perf: rm redundant collect (#6895)
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user