mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-04-30 03:01:58 -04:00
chore(txpool): rename the function of tx_by_sender_and_nonce (#10473)
Signed-off-by: jsvisa <delweng@gmail.com>
This commit is contained in:
@@ -485,7 +485,7 @@ where
|
||||
self.pool.get_transactions_by_sender(sender)
|
||||
}
|
||||
|
||||
fn get_transactions_by_sender_and_nonce(
|
||||
fn get_transaction_by_sender_and_nonce(
|
||||
&self,
|
||||
sender: Address,
|
||||
nonce: u64,
|
||||
|
||||
@@ -203,7 +203,7 @@ impl TransactionPool for NoopTransactionPool {
|
||||
vec![]
|
||||
}
|
||||
|
||||
fn get_transactions_by_sender_and_nonce(
|
||||
fn get_transaction_by_sender_and_nonce(
|
||||
&self,
|
||||
_sender: Address,
|
||||
_nonce: u64,
|
||||
|
||||
@@ -331,8 +331,8 @@ pub trait TransactionPool: Send + Sync + Clone {
|
||||
sender: Address,
|
||||
) -> Vec<Arc<ValidPoolTransaction<Self::Transaction>>>;
|
||||
|
||||
/// Returns a transaction sent by a given user with a given nonce
|
||||
fn get_transactions_by_sender_and_nonce(
|
||||
/// Returns a transaction sent by a given user and a nonce
|
||||
fn get_transaction_by_sender_and_nonce(
|
||||
&self,
|
||||
sender: Address,
|
||||
nonce: u64,
|
||||
|
||||
Reference in New Issue
Block a user