diff --git a/ethapi/api.go b/ethapi/api.go index ef9f103eff5e..32e41fbc19c6 100644 --- a/ethapi/api.go +++ b/ethapi/api.go @@ -1207,7 +1207,7 @@ func DoEstimateGas(ctx context.Context, b Backend, args TransactionArgs, blockNr hi += uint64(float64(hi) * 0.2) // Reject the transaction as invalid if it still fails at the highest allowance - if hi == cap { + if hi >= cap { failed, result, err := executable(hi) if err != nil { return 0, err