docs(tx-pool): fix pending tx listener typo (#4171)

This commit is contained in:
Jacob Kaufmann
2023-08-12 13:24:26 -06:00
committed by GitHub
parent 81e8ad4de6
commit 2a62f2d156

View File

@ -127,7 +127,7 @@ pub trait TransactionPool: Send + Sync + Clone {
/// Returns a new stream that yields new valid transactions added to the pool.
fn new_transactions_listener(&self) -> Receiver<NewTransactionEvent<Self::Transaction>>;
/// Returns a new Stream that yields new transactions added to the basefee-pool.
/// Returns a new Stream that yields new transactions added to the pending sub-pool.
///
/// This is a convenience wrapper around [Self::new_transactions_listener] that filters for
/// [SubPool::Pending](crate::SubPool).