Add 0x when feeding data to debugger

This commit is contained in:
Maran 2014-05-28 18:11:27 +02:00
parent 06d41794f9
commit 44db1a1eb2

View File

@ -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()
}