aboutsummaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-05-06 06:13:44 +0800
committerobscuren <geffobscura@gmail.com>2015-05-07 00:30:56 +0800
commiteb4029257a3166c94fdf82623283e6f946bf19f2 (patch)
tree42314431ad31fe42588ce9535698c4de1cf02d2a /cmd
parent5ebc22807c1faa9fc6dddd79aebc974f4510af20 (diff)
downloadgo-tangerine-eb4029257a3166c94fdf82623283e6f946bf19f2.tar.gz
go-tangerine-eb4029257a3166c94fdf82623283e6f946bf19f2.tar.zst
go-tangerine-eb4029257a3166c94fdf82623283e6f946bf19f2.zip
cmd/mist: updated xeth transact
Diffstat (limited to 'cmd')
-rw-r--r--cmd/mist/bindings.go2
-rw-r--r--cmd/mist/ui_lib.go1
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"],