diff --git a/go/common/gethencoding/geth_encoding.go b/go/common/gethencoding/geth_encoding.go index 9a414a6cfb..fe0d04204c 100644 --- a/go/common/gethencoding/geth_encoding.go +++ b/go/common/gethencoding/geth_encoding.go @@ -185,11 +185,11 @@ func ExtractEthCall(param interface{}) (*gethapi.TransactionArgs, error) { gas = (*hexutil.Uint64)(&gasVal) case callFieldGasPrice: - valueVal, err := hexutil.DecodeBig(valString) + gasPriceVal, err := hexutil.DecodeBig(valString) if err != nil { return nil, fmt.Errorf("could not decode value in CallMsg - %w", err) } - value = (*hexutil.Big)(valueVal) + gasPrice = (*hexutil.Big)(gasPriceVal) case callFieldMaxFeePerGas: maxFeePerGasVal, err := hexutil.DecodeBig(valString)