From a57ad02ff4ddd0fea420a89ca695b42b73490cd4 Mon Sep 17 00:00:00 2001 From: Ayelet Zilber <138376632+ayeletstarkware@users.noreply.github.com> Date: Mon, 19 Aug 2024 18:19:04 +0300 Subject: [PATCH] chore(mempool): delete _tx_pool getter since it's not being used (#525) --- crates/mempool/src/transaction_pool.rs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/crates/mempool/src/transaction_pool.rs b/crates/mempool/src/transaction_pool.rs index 6e65e0ac51..ad9c8b2385 100644 --- a/crates/mempool/src/transaction_pool.rs +++ b/crates/mempool/src/transaction_pool.rs @@ -96,11 +96,6 @@ impl TransactionPool { let next_nonce = nonce.try_increment().map_err(|_| MempoolError::FeltOutOfRange)?; Ok(self.get_by_address_and_nonce(sender_address, next_nonce)) } - - #[cfg(test)] - pub(crate) fn _tx_pool(&self) -> &HashToTransaction { - &self.tx_pool - } } #[derive(Debug, Default, Eq, PartialEq)]