Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could you hardcode chain here to avoid modifications in other places? #4

Open
AlexKNM opened this issue Mar 29, 2024 · 1 comment
Open

Comments

@AlexKNM
Copy link

AlexKNM commented Mar 29, 2024

In internal\ethapi\api.go:
func NewSearcherAPI(b Backend, chain *core.BlockChain) *SearcherAPI {
return &SearcherAPI{b, chain}
}

@Code0x2
Copy link
Member

Code0x2 commented Dec 5, 2024

Wdym hardcode chain? It is passed in when being initialized by geth

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants