Could you hardcode chain here to avoid modifications in other places?
Opened this issue · 0 comments
AlexKNM commented
In internal\ethapi\api.go:
func NewSearcherAPI(b Backend, chain *core.BlockChain) *SearcherAPI {
return &SearcherAPI{b, chain}
}