From d81153769cac89f7e65fddd38f6f894e9e050f4d Mon Sep 17 00:00:00 2001 From: Niven Date: Fri, 25 Aug 2023 12:59:03 +0800 Subject: [PATCH] Rename unused var --- lib/ain-evm/src/transaction/mod.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/ain-evm/src/transaction/mod.rs b/lib/ain-evm/src/transaction/mod.rs index 0a85e8c82c..b6c33316f5 100644 --- a/lib/ain-evm/src/transaction/mod.rs +++ b/lib/ain-evm/src/transaction/mod.rs @@ -303,9 +303,9 @@ impl SignedTx { pub fn get_tx_type(&self) -> U256 { match &self.transaction { - TransactionV2::Legacy(tx) => U256::from(0), - TransactionV2::EIP2930(tx) => U256::from(1), - TransactionV2::EIP1559(tx) => U256::from(2), + TransactionV2::Legacy(_) => U256::from(0), + TransactionV2::EIP2930(_) => U256::from(1), + TransactionV2::EIP1559(_) => U256::from(2), } } }