Commit 1a967986 authored by Taylor Gerring's avatar Taylor Gerring

gas -> gasprice

parent 1c364b6b
...@@ -191,9 +191,9 @@ func (api *EthereumApi) GetRequestReply(req *RpcRequest, reply *interface{}) err ...@@ -191,9 +191,9 @@ func (api *EthereumApi) GetRequestReply(req *RpcRequest, reply *interface{}) err
var gasprice string var gasprice string
if args.GasPrice == nil { if args.GasPrice == nil {
gas = "" gasprice = ""
} else { } 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) v, err := api.xeth().Transact(args.From, args.To, nonce, args.Value.String(), gas, gasprice, args.Data)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment