aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/mist/ui_lib.go
diff options
context:
space:
mode:
authorTaylor Gerring <taylor.gerring@gmail.com>2015-03-11 01:50:13 +0800
committerTaylor Gerring <taylor.gerring@gmail.com>2015-03-11 01:50:13 +0800
commit617804c32731c5103319e7072557f62a9ce63836 (patch)
treebaca8a8f2e014892983ca45e8ec618ab54121526 /cmd/mist/ui_lib.go
parent3de51f76eea87f8e8a4b8a7277cd294529e28491 (diff)
parentbbe8b186600992ada6da9e75e9976cd5a9dc0ae3 (diff)
downloadgo-tangerine-617804c32731c5103319e7072557f62a9ce63836.tar
go-tangerine-617804c32731c5103319e7072557f62a9ce63836.tar.gz
go-tangerine-617804c32731c5103319e7072557f62a9ce63836.tar.bz2
go-tangerine-617804c32731c5103319e7072557f62a9ce63836.tar.lz
go-tangerine-617804c32731c5103319e7072557f62a9ce63836.tar.xz
go-tangerine-617804c32731c5103319e7072557f62a9ce63836.tar.zst
go-tangerine-617804c32731c5103319e7072557f62a9ce63836.zip
Merge branch 'rpcfrontier' of github.com:ethereum/go-ethereum into rpcfrontier
Diffstat (limited to 'cmd/mist/ui_lib.go')
-rw-r--r--cmd/mist/ui_lib.go27
1 files changed, 1 insertions, 26 deletions
diff --git a/cmd/mist/ui_lib.go b/cmd/mist/ui_lib.go
index 187d5b2d6..b202432c4 100644
--- a/cmd/mist/ui_lib.go
+++ b/cmd/mist/ui_lib.go
@@ -47,9 +47,7 @@ type UiLib struct {
connected bool
assetPath string
// The main application window
- win *qml.Window
- Db *Debugger
- DbWindow *DebuggerWindow
+ win *qml.Window
jsEngine *javascript.JSRE
@@ -126,29 +124,6 @@ func (ui *UiLib) AssetPath(p string) string {
return path.Join(ui.assetPath, p)
}
-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(ethutil.Bytes2Hex(object.Code()))
- }
- dbWindow.SetData(data)
-
- dbWindow.Show()
-}
-
-func (self *UiLib) StartDbWithCode(code string) {
- dbWindow := NewDebuggerWindow(self)
- dbWindow.SetCode(code)
- dbWindow.Show()
-}
-
-func (self *UiLib) StartDebugger() {
- dbWindow := NewDebuggerWindow(self)
-
- dbWindow.Show()
-}
-
func (self *UiLib) Transact(params map[string]interface{}) (string, error) {
object := mapToTxParams(params)