diff --git a/crates/transaction-pool/src/pool/pending.rs b/crates/transaction-pool/src/pool/pending.rs index 8f43493410..a1c1af60b0 100644 --- a/crates/transaction-pool/src/pool/pending.rs +++ b/crates/transaction-pool/src/pool/pending.rs @@ -431,7 +431,7 @@ impl PendingPool { // we prefer removing transactions with lower ordering let mut worst_transactions = self.highest_nonces.values().collect::>(); - worst_transactions.sort(); + worst_transactions.sort_unstable(); // loop through the highest nonces set, removing transactions until we reach the limit for tx in worst_transactions {