Add 0x when feeding data to debugger

pull/94/head
Maran 11 years ago
parent 06d41794f9
commit 44db1a1eb2
  1. 2
      ethereal/ui/ui_lib.go

@ -95,7 +95,7 @@ func (self *UiLib) StartDbWithContractAndData(contractHash, data string) {
if len(object.Script()) > 0 {
dbWindow.SetCode("0x" + ethutil.Hex(object.Script()))
}
dbWindow.SetData(data)
dbWindow.SetData("0x" + data)
dbWindow.Show()
}

Loading…
Cancel
Save