From 8e67053de010e41e1c40db115d9450a1779da151 Mon Sep 17 00:00:00 2001 From: Thomas Coratger <60488569+tcoratger@users.noreply.github.com> Date: Thu, 1 Aug 2024 16:17:48 +0200 Subject: [PATCH] typo: fix typo in `best` tx pool doc (#9988) --- crates/transaction-pool/src/pool/pending.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/transaction-pool/src/pool/pending.rs b/crates/transaction-pool/src/pool/pending.rs index dde7292b17..1e1ee63134 100644 --- a/crates/transaction-pool/src/pool/pending.rs +++ b/crates/transaction-pool/src/pool/pending.rs @@ -89,12 +89,12 @@ impl PendingPool { /// Returns an iterator over all transactions that are _currently_ ready. /// - /// 1. The iterator _always_ returns transaction in order: It never returns a transaction with + /// 1. The iterator _always_ returns transactions in order: it never returns a transaction with /// an unsatisfied dependency and only returns them if dependency transaction were yielded - /// previously. In other words: The nonces of transactions with the same sender will _always_ + /// previously. In other words: the nonces of transactions with the same sender will _always_ /// increase by exactly 1. /// - /// The order of transactions which satisfy (1.) is determent by their computed priority: A + /// The order of transactions which satisfy (1.) is determined by their computed priority: a /// transaction with a higher priority is returned before a transaction with a lower priority. /// /// If two transactions have the same priority score, then the transactions which spent more