aboutsummaryrefslogtreecommitdiffstats
path: root/ethereal/ui/ui_lib.go
diff options
context:
space:
mode:
authorzelig <viktor.tron@gmail.com>2014-06-30 03:39:45 +0800
committerzelig <viktor.tron@gmail.com>2014-06-30 03:39:45 +0800
commit098f7f23ce62d3f0c60d30d325576de93795cc4b (patch)
tree0acb745dd7b4bced8c196cad552d6ff4d678bb5d /ethereal/ui/ui_lib.go
parent8aea468744e223f310da98f7478fb5b468d99563 (diff)
downloadgo-tangerine-098f7f23ce62d3f0c60d30d325576de93795cc4b.tar
go-tangerine-098f7f23ce62d3f0c60d30d325576de93795cc4b.tar.gz
go-tangerine-098f7f23ce62d3f0c60d30d325576de93795cc4b.tar.bz2
go-tangerine-098f7f23ce62d3f0c60d30d325576de93795cc4b.tar.lz
go-tangerine-098f7f23ce62d3f0c60d30d325576de93795cc4b.tar.xz
go-tangerine-098f7f23ce62d3f0c60d30d325576de93795cc4b.tar.zst
go-tangerine-098f7f23ce62d3f0c60d30d325576de93795cc4b.zip
changed name for ethutil hex functions; and access to keyring via keyManager
Diffstat (limited to 'ethereal/ui/ui_lib.go')
-rw-r--r--ethereal/ui/ui_lib.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/ethereal/ui/ui_lib.go b/ethereal/ui/ui_lib.go
index ddc955176..892c1f065 100644
--- a/ethereal/ui/ui_lib.go
+++ b/ethereal/ui/ui_lib.go
@@ -77,9 +77,9 @@ func (ui *UiLib) AssetPath(p string) string {
func (self *UiLib) StartDbWithContractAndData(contractHash, data string) {
dbWindow := NewDebuggerWindow(self)
- object := self.eth.StateManager().CurrentState().GetStateObject(ethutil.FromHex(contractHash))
+ object := self.eth.StateManager().CurrentState().GetStateObject(ethutil.Hex2Bytes(contractHash))
if len(object.Script()) > 0 {
- dbWindow.SetCode("0x" + ethutil.Hex(object.Script()))
+ dbWindow.SetCode("0x" + ethutil.Bytes2Hex(object.Script()))
}
dbWindow.SetData("0x" + data)