File tree Expand file tree Collapse file tree 1 file changed +0
-3
lines changed
Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,6 @@ import (
2929 "github.com/ethereum/go-ethereum/common"
3030 "github.com/ethereum/go-ethereum/common/hexutil"
3131 "github.com/ethereum/go-ethereum/core/types"
32- "github.com/ethereum/go-ethereum/ethdb"
3332 "github.com/ethereum/go-ethereum/event"
3433 "github.com/ethereum/go-ethereum/rpc"
3534)
@@ -51,7 +50,6 @@ type PublicFilterAPI struct {
5150 backend Backend
5251 mux * event.TypeMux
5352 quit chan struct {}
54- chainDb ethdb.Database
5553 events * EventSystem
5654 filtersMu sync.Mutex
5755 filters map [rpc.ID ]* filter
@@ -62,7 +60,6 @@ type PublicFilterAPI struct {
6260func NewPublicFilterAPI (backend Backend , lightMode bool , timeout time.Duration ) * PublicFilterAPI {
6361 api := & PublicFilterAPI {
6462 backend : backend ,
65- chainDb : backend .ChainDb (),
6663 events : NewEventSystem (backend , lightMode ),
6764 filters : make (map [rpc.ID ]* filter ),
6865 timeout : timeout ,
You can’t perform that action at this time.
0 commit comments