Browse Source

cmd/mist: updated xeth transact

obscuren 10 years ago
parent
commit
eb4029257a
2 changed files with 2 additions and 1 deletions
  1. 1 1
      cmd/mist/bindings.go
  2. 1 0
      cmd/mist/ui_lib.go

+ 1 - 1
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) {

+ 1 - 0
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"],