diff --git a/ethereal/ui/ui_lib.go b/ethereal/ui/ui_lib.go index 9c4301ffe4..9f2cca1e01 100644 --- a/ethereal/ui/ui_lib.go +++ b/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() }