aboutsummaryrefslogtreecommitdiffstats
path: root/ethereal
diff options
context:
space:
mode:
authorMaran <maran.hidskes@gmail.com>2014-05-29 00:11:27 +0800
committerMaran <maran.hidskes@gmail.com>2014-05-29 00:11:27 +0800
commit44db1a1eb20275349985f1f1b5eddd9a28731488 (patch)
tree1d405acf454ff9c6f7f6c9494bb2702d4eabb97f /ethereal
parent06d41794f955dfedfb04e7dfcccf04530f7ac276 (diff)
downloaddexon-44db1a1eb20275349985f1f1b5eddd9a28731488.tar.gz
dexon-44db1a1eb20275349985f1f1b5eddd9a28731488.tar.zst
dexon-44db1a1eb20275349985f1f1b5eddd9a28731488.zip
Add 0x when feeding data to debugger
Diffstat (limited to 'ethereal')
-rw-r--r--ethereal/ui/ui_lib.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/ethereal/ui/ui_lib.go b/ethereal/ui/ui_lib.go
index 9c4301ffe..9f2cca1e0 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()
}