Skip to content

Commit

Permalink
fix(anvil): return correct gas (#4471)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsse authored Mar 3, 2023
1 parent 0f98eef commit 28b2ae6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions anvil/src/eth/api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down

0 comments on commit 28b2ae6

Please sign in to comment.