mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore: rm unused var (#6713)
This commit is contained in:
@ -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 {
|
||||
|
||||
@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user