aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/mist/ui_lib.go
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2015-03-11 00:14:31 +0800
committerFelix Lange <fjl@twurst.com>2015-03-11 00:14:31 +0800
commit269cfbb8ace76ddc1f50dbd5b218c499308c8a5c (patch)
treec2e9e274c64f431f03b9a6b8b3de22585c016027 /cmd/mist/ui_lib.go
parent972e2c1e31067a9bab77228c19348b66964ce643 (diff)
parent0542df941f57a75fa7b699089db1d9ae40e4ff71 (diff)
downloadgo-tangerine-269cfbb8ace76ddc1f50dbd5b218c499308c8a5c.tar.gz
go-tangerine-269cfbb8ace76ddc1f50dbd5b218c499308c8a5c.tar.zst
go-tangerine-269cfbb8ace76ddc1f50dbd5b218c499308c8a5c.zip
Merge branch origin/develop into accounts-integration
Conflicts: cmd/blocktest/main.go cmd/mist/debugger.go cmd/utils/cmd.go
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 32e8ce5af..4198c6316 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)