diff options
author | obscuren <geffobscura@gmail.com> | 2015-01-20 22:49:12 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-01-20 22:49:12 +0800 |
commit | 9845029a7535672746139084138f3e894e604e44 (patch) | |
tree | 3503d094eac24e63108938a37008a2eab3b3528d /cmd/mist/ui_lib.go | |
parent | 375cc67ba6dbc57e69aa594a6ac26ebc9b3a713a (diff) | |
download | go-tangerine-9845029a7535672746139084138f3e894e604e44.tar.gz go-tangerine-9845029a7535672746139084138f3e894e604e44.tar.zst go-tangerine-9845029a7535672746139084138f3e894e604e44.zip |
StdVm by default
Diffstat (limited to 'cmd/mist/ui_lib.go')
-rw-r--r-- | cmd/mist/ui_lib.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cmd/mist/ui_lib.go b/cmd/mist/ui_lib.go index f3559183e..c88c4dab6 100644 --- a/cmd/mist/ui_lib.go +++ b/cmd/mist/ui_lib.go @@ -212,16 +212,16 @@ func (self *UiLib) StartDbWithContractAndData(contractHash, data string) { dbWindow := NewDebuggerWindow(self) object := self.eth.ChainManager().State().GetStateObject(ethutil.Hex2Bytes(contractHash)) if len(object.Code) > 0 { - dbWindow.SetCode("0x" + ethutil.Bytes2Hex(object.Code)) + dbWindow.SetCode(ethutil.Bytes2Hex(object.Code)) } - dbWindow.SetData("0x" + data) + dbWindow.SetData(data) dbWindow.Show() } func (self *UiLib) StartDbWithCode(code string) { dbWindow := NewDebuggerWindow(self) - dbWindow.SetCode("0x" + code) + dbWindow.SetCode(code) dbWindow.Show() } |