cmd/mist: updated xeth transact

This commit is contained in:
obscuren 2015-05-06 00:13:44 +02:00
parent 5ebc22807c
commit eb4029257a
2 changed files with 2 additions and 1 deletions

View File

@ -40,7 +40,7 @@ type plugin struct {
func (gui *Gui) Transact(from, recipient, value, gas, gasPrice, d string) (string, error) { func (gui *Gui) Transact(from, recipient, value, gas, gasPrice, d string) (string, error) {
d = common.Bytes2Hex(utils.FormatTransactionData(d)) 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) { func (self *Gui) AddPlugin(pluginPath string) {

View File

@ -119,6 +119,7 @@ func (self *UiLib) Transact(params map[string]interface{}) (string, error) {
return self.XEth.Transact( return self.XEth.Transact(
object["from"], object["from"],
object["to"], object["to"],
"",
object["value"], object["value"],
object["gas"], object["gas"],
object["gasPrice"], object["gasPrice"],