diff options
author | obscuren <geffobscura@gmail.com> | 2015-05-06 06:13:44 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-05-07 00:30:56 +0800 |
commit | eb4029257a3166c94fdf82623283e6f946bf19f2 (patch) | |
tree | 42314431ad31fe42588ce9535698c4de1cf02d2a | |
parent | 5ebc22807c1faa9fc6dddd79aebc974f4510af20 (diff) | |
download | dexon-eb4029257a3166c94fdf82623283e6f946bf19f2.tar.gz dexon-eb4029257a3166c94fdf82623283e6f946bf19f2.tar.zst dexon-eb4029257a3166c94fdf82623283e6f946bf19f2.zip |
cmd/mist: updated xeth transact
-rw-r--r-- | cmd/mist/bindings.go | 2 | ||||
-rw-r--r-- | cmd/mist/ui_lib.go | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/cmd/mist/bindings.go b/cmd/mist/bindings.go index e7ce50c35..7512421a1 100644 --- a/cmd/mist/bindings.go +++ b/cmd/mist/bindings.go @@ -40,7 +40,7 @@ type plugin struct { func (gui *Gui) Transact(from, recipient, value, gas, gasPrice, d string) (string, error) { d = common.Bytes2Hex(utils.FormatTransactionData(d)) - return gui.xeth.Transact(from, recipient, value, gas, gasPrice, d) + return gui.xeth.Transact(from, recipient, "", value, gas, gasPrice, d) } func (self *Gui) AddPlugin(pluginPath string) { diff --git a/cmd/mist/ui_lib.go b/cmd/mist/ui_lib.go index 34ce56e77..2de71491c 100644 --- a/cmd/mist/ui_lib.go +++ b/cmd/mist/ui_lib.go @@ -119,6 +119,7 @@ func (self *UiLib) Transact(params map[string]interface{}) (string, error) { return self.XEth.Transact( object["from"], object["to"], + "", object["value"], object["gas"], object["gasPrice"], |