diff options
author | obscuren <geffobscura@gmail.com> | 2015-01-28 21:02:36 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-01-28 21:02:36 +0800 |
commit | 9a11a948943d285b22a3a5e508fadc0c346990f4 (patch) | |
tree | 29f9206297a5c098efa5383def749ac865978e96 /cmd/mist/ext_app.go | |
parent | cbf162ca6467b91b897c94c3e2c2fd9769a3e9f0 (diff) | |
download | go-tangerine-9a11a948943d285b22a3a5e508fadc0c346990f4.tar go-tangerine-9a11a948943d285b22a3a5e508fadc0c346990f4.tar.gz go-tangerine-9a11a948943d285b22a3a5e508fadc0c346990f4.tar.bz2 go-tangerine-9a11a948943d285b22a3a5e508fadc0c346990f4.tar.lz go-tangerine-9a11a948943d285b22a3a5e508fadc0c346990f4.tar.xz go-tangerine-9a11a948943d285b22a3a5e508fadc0c346990f4.tar.zst go-tangerine-9a11a948943d285b22a3a5e508fadc0c346990f4.zip |
Updated assets & moved messages
Diffstat (limited to 'cmd/mist/ext_app.go')
-rw-r--r-- | cmd/mist/ext_app.go | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/cmd/mist/ext_app.go b/cmd/mist/ext_app.go index 012c94923..3a41fe5de 100644 --- a/cmd/mist/ext_app.go +++ b/cmd/mist/ext_app.go @@ -21,12 +21,9 @@ package main import ( - "encoding/json" - "github.com/ethereum/go-ethereum/core" "github.com/ethereum/go-ethereum/core/types" "github.com/ethereum/go-ethereum/event" - "github.com/ethereum/go-ethereum/javascript" "github.com/ethereum/go-ethereum/state" "github.com/ethereum/go-ethereum/ui/qt" "github.com/ethereum/go-ethereum/xeth" @@ -113,13 +110,15 @@ func (app *ExtApplication) mainLoop() { case core.NewBlockEvent: app.container.NewBlock(ev.Block) - case state.Messages: - for id, filter := range app.filters { - msgs := filter.FilterMessages(ev) - if len(msgs) > 0 { - app.container.Messages(msgs, id) + /* TODO remove + case state.Messages: + for id, filter := range app.filters { + msgs := filter.FilterMessages(ev) + if len(msgs) > 0 { + app.container.Messages(msgs, id) + } } - } + */ } } } @@ -129,6 +128,7 @@ func (self *ExtApplication) Watch(filterOptions map[string]interface{}, identifi } func (self *ExtApplication) GetMessages(object map[string]interface{}) string { + /* TODO remove me filter := qt.NewFilterFromMap(object, self.eth) messages := filter.Find() @@ -143,4 +143,6 @@ func (self *ExtApplication) GetMessages(object map[string]interface{}) string { } return string(b) + */ + return "" } |