forked from cerc-io/plugeth
removed accidental qt dep
This commit is contained in:
parent
e3da85faed
commit
7e6b72cb5c
@ -28,7 +28,7 @@ import (
|
||||
"github.com/ethereum/go-ethereum/event/filter"
|
||||
"github.com/ethereum/go-ethereum/logger"
|
||||
"github.com/ethereum/go-ethereum/state"
|
||||
"github.com/ethereum/go-ethereum/ui/qt"
|
||||
"github.com/ethereum/go-ethereum/ui"
|
||||
"github.com/ethereum/go-ethereum/websocket"
|
||||
"github.com/ethereum/go-ethereum/xeth"
|
||||
)
|
||||
@ -126,7 +126,7 @@ func (self *WebSocketServer) Serv() {
|
||||
case "eth_newFilter":
|
||||
if mp, ok := msg.Args[0].(map[string]interface{}); ok {
|
||||
var id int
|
||||
filter := qt.NewFilterFromMap(mp, self.eth)
|
||||
filter := ui.NewFilterFromMap(mp, self.eth)
|
||||
filter.MessageCallback = func(messages state.Messages) {
|
||||
c.Event(toMessages(messages), "eth_changed", id)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user