Update eth_call.go

This commit is contained in:
ledgerwatch 2022-03-12 00:16:18 +00:00 committed by GitHub
parent a0df37f508
commit 2d1d71153a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,7 +3,7 @@ package commands
import ( import (
"context" "context"
"errors" "errors"
"fmt" "fm
"math/big" "math/big"
"github.com/holiman/uint256" "github.com/holiman/uint256"
@ -271,7 +271,6 @@ func (api *APIImpl) EstimateGas(ctx context.Context, args ethapi.CallArgs, block
return 0, result.Err return 0, result.Err
} }
// Otherwise, the specified gas cap is too low // Otherwise, the specified gas cap is too low
fmt.Println("eth.go")
return 0, fmt.Errorf("gas required exceeds allowance (%d)", cap) return 0, fmt.Errorf("gas required exceeds allowance (%d)", cap)
} }
} }