aboutsummaryrefslogtreecommitdiffstats
path: root/mist/ext_app.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-10-18 19:20:35 +0800
committerobscuren <geffobscura@gmail.com>2014-10-18 19:20:35 +0800
commit77badc8c4603674c5fd587150de104e553fce71f (patch)
treee4bb486c9e8fce8459c5d6e2ad3d01e699a46c4e /mist/ext_app.go
parente57989c0a638ff4c2e9ccda4229c732d3ced29a7 (diff)
downloaddexon-77badc8c4603674c5fd587150de104e553fce71f.tar
dexon-77badc8c4603674c5fd587150de104e553fce71f.tar.gz
dexon-77badc8c4603674c5fd587150de104e553fce71f.tar.bz2
dexon-77badc8c4603674c5fd587150de104e553fce71f.tar.lz
dexon-77badc8c4603674c5fd587150de104e553fce71f.tar.xz
dexon-77badc8c4603674c5fd587150de104e553fce71f.tar.zst
dexon-77badc8c4603674c5fd587150de104e553fce71f.zip
Updated to reflect the Filter changes in eth-go
Diffstat (limited to 'mist/ext_app.go')
-rw-r--r--mist/ext_app.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/mist/ext_app.go b/mist/ext_app.go
index 36241e58c..c4e6fd394 100644
--- a/mist/ext_app.go
+++ b/mist/ext_app.go
@@ -7,6 +7,7 @@ import (
"github.com/ethereum/eth-go/ethpipe"
"github.com/ethereum/eth-go/ethstate"
"github.com/ethereum/eth-go/event"
+ "github.com/ethereum/eth-go/ui/qt"
"github.com/ethereum/go-ethereum/javascript"
"gopkg.in/qml.v1"
)
@@ -103,11 +104,11 @@ func (app *ExtApplication) mainLoop() {
}
func (self *ExtApplication) Watch(filterOptions map[string]interface{}, identifier string) {
- self.filters[identifier] = ethchain.NewFilterFromMap(filterOptions, self.eth)
+ self.filters[identifier] = qt.NewFilterFromMap(filterOptions, self.eth)
}
func (self *ExtApplication) GetMessages(object map[string]interface{}) string {
- filter := ethchain.NewFilterFromMap(object, self.eth)
+ filter := qt.NewFilterFromMap(object, self.eth)
messages := filter.Find()
var msgs []javascript.JSMessage