Fix bor logs missing (#1361)

This commit is contained in:
Jerry 2024-10-24 23:10:53 -07:00 committed by GitHub
parent c73129ee39
commit 356e77454c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2090,7 +2090,7 @@ func RegisterFilterAPI(stack *node.Node, backend ethapi.Backend, ethcfg *ethconf
filterAPI := filters.NewFilterAPI(filterSystem, ethcfg.BorLogs) filterAPI := filters.NewFilterAPI(filterSystem, ethcfg.BorLogs)
stack.RegisterAPIs([]rpc.API{{ stack.RegisterAPIs([]rpc.API{{
Namespace: "eth", Namespace: "eth",
Service: filters.NewFilterAPI(filterSystem, false), Service: filters.NewFilterAPI(filterSystem, ethcfg.BorLogs),
}}) }})
// avoiding constructor changed by introducing new method to set genesis // avoiding constructor changed by introducing new method to set genesis