mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-19 11:20:45 +00:00
gas -> gasprice
This commit is contained in:
parent
1c364b6beb
commit
1a96798642
1 changed files with 2 additions and 2 deletions
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue