forked from cerc-io/plugeth
Add 0x when feeding data to debugger
This commit is contained in:
parent
06d41794f9
commit
44db1a1eb2
@ -95,7 +95,7 @@ func (self *UiLib) StartDbWithContractAndData(contractHash, data string) {
|
|||||||
if len(object.Script()) > 0 {
|
if len(object.Script()) > 0 {
|
||||||
dbWindow.SetCode("0x" + ethutil.Hex(object.Script()))
|
dbWindow.SetCode("0x" + ethutil.Hex(object.Script()))
|
||||||
}
|
}
|
||||||
dbWindow.SetData(data)
|
dbWindow.SetData("0x" + data)
|
||||||
|
|
||||||
dbWindow.Show()
|
dbWindow.Show()
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user