mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-12 15:03:45 +00:00
cmd/utils: use defined filter api instance instead of a new one (#1270)
This commit is contained in:
parent
c551b4198e
commit
0bc2dcbd71
1 changed files with 1 additions and 1 deletions
|
|
@ -2019,7 +2019,7 @@ func RegisterFilterAPI(stack *node.Node, backend ethapi.Backend, ethcfg *ethconf
|
||||||
filterAPI := filters.NewFilterAPI(filterSystem, false, ethcfg.BorLogs)
|
filterAPI := filters.NewFilterAPI(filterSystem, false, ethcfg.BorLogs)
|
||||||
stack.RegisterAPIs([]rpc.API{{
|
stack.RegisterAPIs([]rpc.API{{
|
||||||
Namespace: "eth",
|
Namespace: "eth",
|
||||||
Service: filters.NewFilterAPI(filterSystem, false, false),
|
Service: filterAPI,
|
||||||
}})
|
}})
|
||||||
|
|
||||||
// avoiding constructor changed by introducing new method to set genesis
|
// avoiding constructor changed by introducing new method to set genesis
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue