cmd/mist: updated xeth transact
This commit is contained in:
		@@ -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) {
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -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"],
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user