chore: rm unused var (#6713)

This commit is contained in:
Matthias Seitz
2024-02-21 14:01:26 +01:00
committed by GitHub
parent a554c1fbf8
commit 84b13286f0
2 changed files with 0 additions and 7 deletions

View File

@ -400,7 +400,6 @@ where
} => {
let sender_id = self.get_sender_id(transaction.sender());
let transaction_id = TransactionId::new(sender_id, transaction.nonce());
let _encoded_length = transaction.encoded_length();
// split the valid transaction and the blob sidecar if it has any
let (transaction, maybe_sidecar) = match transaction {

View File

@ -134,12 +134,6 @@ impl<T: PoolTransaction> ValidTransaction<T> {
self.transaction().hash()
}
/// Returns the length of the rlp encoded object
#[inline]
pub(crate) fn encoded_length(&self) -> usize {
self.transaction().encoded_length()
}
/// Returns the nonce of the transaction.
#[inline]
pub(crate) fn nonce(&self) -> u64 {