diff options
author | Maran <maran.hidskes@gmail.com> | 2014-05-29 00:11:27 +0800 |
---|---|---|
committer | Maran <maran.hidskes@gmail.com> | 2014-05-29 00:11:27 +0800 |
commit | 44db1a1eb20275349985f1f1b5eddd9a28731488 (patch) | |
tree | 1d405acf454ff9c6f7f6c9494bb2702d4eabb97f /ethereal | |
parent | 06d41794f955dfedfb04e7dfcccf04530f7ac276 (diff) | |
download | dexon-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.go | 2 |
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() } |