mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-14 03:56:36 +00:00
gas -> gasprice
This commit is contained in:
parent
c8a9a4e76d
commit
1c364b6beb
1 changed files with 2 additions and 2 deletions
|
|
@ -626,9 +626,9 @@ func (api *EthereumApi) doCall(params json.RawMessage) (string, string, error) {
|
||||||
|
|
||||||
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()
|
||||||
}
|
}
|
||||||
|
|
||||||
return api.xethAtStateNum(args.BlockNumber).Call(args.From, args.To, args.Value.String(), gas, gasprice, args.Data)
|
return api.xethAtStateNum(args.BlockNumber).Call(args.From, args.To, args.Value.String(), gas, gasprice, args.Data)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue