diff options
author | obscuren <geffobscura@gmail.com> | 2014-11-10 08:17:31 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-11-10 08:17:31 +0800 |
commit | cbeebcd47da846e1b8990313f1ff1ffe7d0bf00f (patch) | |
tree | 95db04f468e66ebb26afd81bc72abea8fbcf7c0e /cmd/mist/ui_lib.go | |
parent | f538ea25e46d59dfa225ed105343d9c6a9909c2c (diff) | |
download | go-tangerine-cbeebcd47da846e1b8990313f1ff1ffe7d0bf00f.tar.gz go-tangerine-cbeebcd47da846e1b8990313f1ff1ffe7d0bf00f.tar.zst go-tangerine-cbeebcd47da846e1b8990313f1ff1ffe7d0bf00f.zip |
Fixed bloom, updated mining & block processing
* Reverted back to process blocks in batches method
* Bloom generation and lookup fix
* Minor UI changed (mainly debug)
Diffstat (limited to 'cmd/mist/ui_lib.go')
-rw-r--r-- | cmd/mist/ui_lib.go | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/cmd/mist/ui_lib.go b/cmd/mist/ui_lib.go index bdf551325..4e480144f 100644 --- a/cmd/mist/ui_lib.go +++ b/cmd/mist/ui_lib.go @@ -229,7 +229,11 @@ func (self *UiLib) NewFilter(object map[string]interface{}) (id int) { func (self *UiLib) NewFilterString(typ string) (id int) { filter := chain.NewFilter(self.eth) filter.BlockCallback = func(block *chain.Block) { - self.win.Root().Call("invokeFilterCallback", "{}", id) + if self.win != nil && self.win.Root() != nil { + self.win.Root().Call("invokeFilterCallback", "{}", id) + } else { + fmt.Println("QML is lagging") + } } id = self.eth.InstallFilter(filter) return id |