Skip to content

Commit

Permalink
chore(mempool): delete _tx_pool getter since it's not being used (#525)
Browse files Browse the repository at this point in the history
  • Loading branch information
ayeletstarkware authored Aug 19, 2024
1 parent b6955bb commit a57ad02
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions crates/mempool/src/transaction_pool.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)]
Expand Down

0 comments on commit a57ad02

Please sign in to comment.