diff --git a/internal/ethapi/api.go b/internal/ethapi/api.go index 4d5ef27da1..01dac4b2e3 100644 --- a/internal/ethapi/api.go +++ b/internal/ethapi/api.go @@ -753,7 +753,7 @@ func (s *PublicBlockChainAPI) Call(ctx context.Context, args CallArgs, blockNr r func DoEstimateGas(ctx context.Context, b Backend, args CallArgs, blockNr rpc.BlockNumber) (hexutil.Uint64, error) { // Binary search the gas requirement, as it may be higher than the amount used var ( - lo uint64 = params.TxGas - 1 + lo = params.TxGas - 1 hi uint64 cap uint64 )