Skip to content

Commit

Permalink
Rename unused var
Browse files Browse the repository at this point in the history
  • Loading branch information
sieniven committed Aug 25, 2023
1 parent 3a168f8 commit d811537
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/ain-evm/src/transaction/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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),
}
}
}
Expand Down

0 comments on commit d811537

Please sign in to comment.