Skip to content

Commit

Permalink
fix ErrIntrinsicGas
Browse files Browse the repository at this point in the history
  • Loading branch information
JukLee0ira committed Sep 9, 2024
1 parent b85c30d commit 0e16cec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/ethapi/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -1432,7 +1432,7 @@ func DoEstimateGas(ctx context.Context, b Backend, args TransactionArgs, blockNr

result, err := DoCall(ctx, b, args, blockNrOrHash, nil, vm.Config{}, 0, gasCap)
if err != nil {
if err == core.ErrInsufficientIntrinsicGas {
if err == core.ErrIntrinsicGas {
return true, nil, nil
}
return true, nil, err
Expand Down

0 comments on commit 0e16cec

Please sign in to comment.