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/XinFinOrg/XDPoSChain/common"
3030 "github.com/XinFinOrg/XDPoSChain/common/hexutil"
3131 "github.com/XinFinOrg/XDPoSChain/core/types"
32- "github.com/XinFinOrg/XDPoSChain/ethdb"
3332
3433 // "github.com/XinFinOrg/XDPoSChain/ethdb"
3534 "github.com/XinFinOrg/XDPoSChain/rpc"
@@ -57,7 +56,6 @@ type filter struct {
5756// information related to the Ethereum protocol such als blocks, transactions and logs.
5857type FilterAPI struct {
5958 sys * FilterSystem
60- chainDb ethdb.Database
6159 events * EventSystem
6260 filtersMu sync.Mutex
6361 filters map [rpc.ID ]* filter
@@ -68,7 +66,6 @@ type FilterAPI struct {
6866func NewFilterAPI (system * FilterSystem , lightMode bool ) * FilterAPI {
6967 api := & FilterAPI {
7068 sys : system ,
71- chainDb : system .backend .ChainDb (),
7269 events : NewEventSystem (system , lightMode ),
7370 filters : make (map [rpc.ID ]* filter ),
7471 timeout : system .cfg .Timeout ,
You can’t perform that action at this time.
0 commit comments