Skip to content

Commit

Permalink
cmd/utils: use defined filter api instance instead of a new one (#1270)
Browse files Browse the repository at this point in the history
  • Loading branch information
manav2401 authored Jun 20, 2024
1 parent c551b41 commit 0bc2dcb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/utils/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0bc2dcb

Please sign in to comment.