diff options
author | Taylor Gerring <taylor.gerring@gmail.com> | 2015-06-09 08:10:36 +0800 |
---|---|---|
committer | Taylor Gerring <taylor.gerring@gmail.com> | 2015-06-09 20:13:26 +0800 |
commit | 1a967986428315b5551500f7db9c55c637fe6105 (patch) | |
tree | eb9d7101dbad1dd208cecb600507b2e6b3be627e /rpc | |
parent | 1c364b6beb433d4fd8ffda0daead5752fe05f544 (diff) | |
download | dexon-1a967986428315b5551500f7db9c55c637fe6105.tar dexon-1a967986428315b5551500f7db9c55c637fe6105.tar.gz dexon-1a967986428315b5551500f7db9c55c637fe6105.tar.bz2 dexon-1a967986428315b5551500f7db9c55c637fe6105.tar.lz dexon-1a967986428315b5551500f7db9c55c637fe6105.tar.xz dexon-1a967986428315b5551500f7db9c55c637fe6105.tar.zst dexon-1a967986428315b5551500f7db9c55c637fe6105.zip |
gas -> gasprice
Diffstat (limited to 'rpc')
-rw-r--r-- | rpc/api.go | 4 |
1 files changed, 2 insertions, 2 deletions
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) |