diff --git a/anvil/src/eth/api.rs b/anvil/src/eth/api.rs index b0440e792..bf4b0eb14 100644 --- a/anvil/src/eth/api.rs +++ b/anvil/src/eth/api.rs @@ -2099,9 +2099,9 @@ impl EthApi { mid_gas_limit = (highest_gas_limit + lowest_gas_limit) / 2; } - trace!(target : "node", "Estimated Gas for call {:?}", gas); + trace!(target : "node", "Estimated Gas for call {:?}", highest_gas_limit); - Ok(gas) + Ok(highest_gas_limit) } /// Updates the `TransactionOrder`