Skip to content

Commit

Permalink
Remove duplicate
Browse files Browse the repository at this point in the history
  • Loading branch information
Bushstar committed Jul 27, 2023
1 parent 4fe9de1 commit 3d04458
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions lib/ain-evm/src/core.rs
Original file line number Diff line number Diff line change
Expand Up @@ -225,9 +225,6 @@ impl EVMCoreService {
// Validate tx gas limit with intrinsic gas
check_tx_intrinsic_gas(&signed_tx)?;

// Validate tx gas limit with intrinsic gas
check_tx_intrinsic_gas(&signed_tx)?;

if gas_limit > MAX_GAS_PER_BLOCK {
debug!("[validate_raw_tx] Gas limit higher than MAX_GAS_PER_BLOCK");
return Err(anyhow!("Gas limit higher than MAX_GAS_PER_BLOCK").into());
Expand Down

0 comments on commit 3d04458

Please sign in to comment.