diff options
author | obscuren <geffobscura@gmail.com> | 2015-02-17 19:24:51 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-02-17 19:24:58 +0800 |
commit | 8135752a32837748e6d4a986912131736b1a0aa0 (patch) | |
tree | 0ad3b6abab8a4b0c013844f93ca665526d2a567a /ui | |
parent | 164de5e22be39ba2bdc58f84f72572252634e7e1 (diff) | |
download | go-tangerine-8135752a32837748e6d4a986912131736b1a0aa0.tar go-tangerine-8135752a32837748e6d4a986912131736b1a0aa0.tar.gz go-tangerine-8135752a32837748e6d4a986912131736b1a0aa0.tar.bz2 go-tangerine-8135752a32837748e6d4a986912131736b1a0aa0.tar.lz go-tangerine-8135752a32837748e6d4a986912131736b1a0aa0.tar.xz go-tangerine-8135752a32837748e6d4a986912131736b1a0aa0.tar.zst go-tangerine-8135752a32837748e6d4a986912131736b1a0aa0.zip |
"centralised" mining to backend. Closes #323
Diffstat (limited to 'ui')
-rw-r--r-- | ui/filter.go | 2 | ||||
-rw-r--r-- | ui/qt/filter.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ui/filter.go b/ui/filter.go index 8f298a40c..da2ea0edb 100644 --- a/ui/filter.go +++ b/ui/filter.go @@ -15,7 +15,7 @@ func fromHex(s string) []byte { return nil } -func NewFilterFromMap(object map[string]interface{}, eth core.EthManager) *core.Filter { +func NewFilterFromMap(object map[string]interface{}, eth core.Backend) *core.Filter { filter := core.NewFilter(eth) if object["earliest"] != nil { diff --git a/ui/qt/filter.go b/ui/qt/filter.go index bd3ad0303..48e8a7fae 100644 --- a/ui/qt/filter.go +++ b/ui/qt/filter.go @@ -6,7 +6,7 @@ import ( "github.com/obscuren/qml" ) -func NewFilterFromMap(object map[string]interface{}, eth core.EthManager) *core.Filter { +func NewFilterFromMap(object map[string]interface{}, eth core.Backend) *core.Filter { filter := ui.NewFilterFromMap(object, eth) if object["topics"] != nil { |