From 1c364b6beb433d4fd8ffda0daead5752fe05f544 Mon Sep 17 00:00:00 2001 From: Taylor Gerring Date: Mon, 8 Jun 2015 20:10:36 -0400 Subject: gas -> gasprice --- rpc/api.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'rpc') diff --git a/rpc/api.go b/rpc/api.go index 33789a55f..da3219933 100644 --- a/rpc/api.go +++ b/rpc/api.go @@ -626,9 +626,9 @@ func (api *EthereumApi) doCall(params json.RawMessage) (string, string, error) { var gasprice string if args.GasPrice == nil { - gas = "" + gasprice = "" } else { - gas = args.GasPrice.String() + gasprice = args.GasPrice.String() } return api.xethAtStateNum(args.BlockNumber).Call(args.From, args.To, args.Value.String(), gas, gasprice, args.Data) -- cgit v1.2.3