Skip to content

Commit

Permalink
fix fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
chengwenxi committed Dec 18, 2024
1 parent 7205f58 commit 33c4dbd
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion crates/revm/src/handler/mainnet/validation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,5 @@ pub fn validate_initial_tx_gas<SPEC: Spec, DB: Database>(
if initial_gas_spend > env.tx.gas_limit {
return Err(InvalidTransaction::CallGasCostMoreThanGasLimit.into());
}

Ok(initial_gas_spend)
}

0 comments on commit 33c4dbd

Please sign in to comment.