diff --git a/cmd/utils/flags.go b/cmd/utils/flags.go index f65940f297..1fad54804f 100644 --- a/cmd/utils/flags.go +++ b/cmd/utils/flags.go @@ -2019,7 +2019,7 @@ func RegisterFilterAPI(stack *node.Node, backend ethapi.Backend, ethcfg *ethconf filterAPI := filters.NewFilterAPI(filterSystem, false, ethcfg.BorLogs) stack.RegisterAPIs([]rpc.API{{ Namespace: "eth", - Service: filters.NewFilterAPI(filterSystem, false, false), + Service: filterAPI, }}) // avoiding constructor changed by introducing new method to set genesis