Skip to content

Commit 0605414

Browse files
authored
Merge pull request #2339 from CortexFoundation/dev
test fix
2 parents 4cfebae + ea053bf commit 0605414

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ctxc/filters/filter_system_test.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ import (
3131
"github.com/CortexFoundation/CortexTheseus/common"
3232
"github.com/CortexFoundation/CortexTheseus/core"
3333
"github.com/CortexFoundation/CortexTheseus/core/bloombits"
34+
"github.com/CortexFoundation/CortexTheseus/core/filtermaps"
3435
"github.com/CortexFoundation/CortexTheseus/core/rawdb"
3536
"github.com/CortexFoundation/CortexTheseus/core/types"
3637
"github.com/CortexFoundation/CortexTheseus/ctxcdb"
@@ -161,6 +162,8 @@ func (b *testBackend) ServiceFilter(ctx context.Context, session *bloombits.Matc
161162
}()
162163
}
163164

165+
func (b *testBackend) CurrentView() *filtermaps.ChainView { return nil }
166+
164167
func newTestFilterSystem(t testing.TB, db ctxcdb.Database, cfg Config) (*testBackend, *FilterSystem) {
165168
backend := &testBackend{db: db}
166169
sys := NewFilterSystem(backend, cfg)

0 commit comments

Comments
 (0)