diff options
author | Jeffrey Wilcke <obscuren@users.noreply.github.com> | 2014-07-01 22:15:59 +0800 |
---|---|---|
committer | Jeffrey Wilcke <obscuren@users.noreply.github.com> | 2014-07-01 22:15:59 +0800 |
commit | 5e02d2b5866e9aeb4bc0ad0ec4479f2104131f51 (patch) | |
tree | 6d50a032f70e1b3709f47403fcc793e52ac9b4c9 /ethereal/ui/ui_lib.go | |
parent | 4fc60f340f6ef5ffe68e684ed44e5974fa08e8c8 (diff) | |
parent | ce88a73aa6e695a0b672da2d01baf14f03d514b0 (diff) | |
download | dexon-5e02d2b5866e9aeb4bc0ad0ec4479f2104131f51.tar dexon-5e02d2b5866e9aeb4bc0ad0ec4479f2104131f51.tar.gz dexon-5e02d2b5866e9aeb4bc0ad0ec4479f2104131f51.tar.bz2 dexon-5e02d2b5866e9aeb4bc0ad0ec4479f2104131f51.tar.lz dexon-5e02d2b5866e9aeb4bc0ad0ec4479f2104131f51.tar.xz dexon-5e02d2b5866e9aeb4bc0ad0ec4479f2104131f51.tar.zst dexon-5e02d2b5866e9aeb4bc0ad0ec4479f2104131f51.zip |
Merge pull request #96 from ethersphere/feature/keys
Feature/keys
Diffstat (limited to 'ethereal/ui/ui_lib.go')
-rw-r--r-- | ethereal/ui/ui_lib.go | 4 |
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) |