From 5576ec3bf78f46dbb8f2a27734c9b3ec86854849 Mon Sep 17 00:00:00 2001 From: Thomas Coratger <60488569+tcoratger@users.noreply.github.com> Date: Sat, 27 Jul 2024 01:19:21 +0200 Subject: [PATCH] txpool: fix typo (#9842) Co-authored-by: Dan Cline <6798349+Rjected@users.noreply.github.com> --- crates/transaction-pool/src/lib.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/transaction-pool/src/lib.rs b/crates/transaction-pool/src/lib.rs index 2484f6784f..ed9e3ec65c 100644 --- a/crates/transaction-pool/src/lib.rs +++ b/crates/transaction-pool/src/lib.rs @@ -35,7 +35,7 @@ //! The pool itself does not validate incoming transactions, instead this should be provided by //! implementing `TransactionsValidator`. Only transactions that the validator returns as valid are //! included in the pool. It is assumed that transaction that are in the pool are either valid on -//! the current state or could become valid after certain state changes. transaction that can never +//! the current state or could become valid after certain state changes. Transactions that can never //! become valid (e.g. nonce lower than current on chain nonce) will never be added to the pool and //! instead are discarded right away. //! @@ -232,7 +232,7 @@ where self.inner().config() } - /// Returns future that validates all transaction in the given iterator. + /// Returns future that validates all transactions in the given iterator. /// /// This returns the validated transactions in the iterator's order. async fn validate_all( @@ -278,7 +278,7 @@ where Client: StateProviderFactory + reth_provider::BlockReaderIdExt + Clone + 'static, S: BlobStore, { - /// Returns a new [Pool] that uses the default [`TransactionValidationTaskExecutor`] when + /// Returns a new [`Pool`] that uses the default [`TransactionValidationTaskExecutor`] when /// validating [`EthPooledTransaction`]s and ords via [`CoinbaseTipOrdering`] /// /// # Example