gas -> gasprice

This commit is contained in:
Taylor Gerring 2015-06-08 20:10:36 -04:00
parent 1c364b6beb
commit 1a96798642

View File

@ -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)