mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-23 12:07:17 +00:00
cmd/mist: updated xeth transact
This commit is contained in:
parent
5ebc22807c
commit
eb4029257a
@ -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"],
|
||||||
|
Loading…
Reference in New Issue
Block a user