From 1a967986428315b5551500f7db9c55c637fe6105 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 da3219933..e35395734 100644 --- a/rpc/api.go +++ b/rpc/api.go @@ -191,9 +191,9 @@ func (api *EthereumApi) GetRequestReply(req *RpcRequest, reply *interface{}) err var gasprice string if args.GasPrice == nil { - gas = "" + gasprice = "" } else { - gas = args.GasPrice.String() + gasprice = args.GasPrice.String() } v, err := api.xeth().Transact(args.From, args.To, nonce, args.Value.String(), gas, gasprice, args.Data) -- cgit