From 356e77454cc1b82070dfc3c03e8623087876efd4 Mon Sep 17 00:00:00 2001 From: Jerry Date: Thu, 24 Oct 2024 23:10:53 -0700 Subject: [PATCH] Fix bor logs missing (#1361) --- cmd/utils/flags.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/utils/flags.go b/cmd/utils/flags.go index 94dd778628..efd1c952f8 100644 --- a/cmd/utils/flags.go +++ b/cmd/utils/flags.go @@ -2090,7 +2090,7 @@ func RegisterFilterAPI(stack *node.Node, backend ethapi.Backend, ethcfg *ethconf filterAPI := filters.NewFilterAPI(filterSystem, ethcfg.BorLogs) stack.RegisterAPIs([]rpc.API{{ Namespace: "eth", - Service: filters.NewFilterAPI(filterSystem, false), + Service: filters.NewFilterAPI(filterSystem, ethcfg.BorLogs), }}) // avoiding constructor changed by introducing new method to set genesis