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

eth: refactor creation of EthAPIBackend #20476

Merged
merged 1 commit into from
Jan 7, 2020

Conversation

jgimeno
Copy link
Contributor

@jgimeno jgimeno commented Dec 20, 2019

I was following the code for creating a New ethereum object and I found this part little confusing, like creating first the backend with nil gpo to later set it, if not important just discard.

Thanks

@fjl fjl changed the title Readability refactor when creating EthAPIBackend eth: refactor creation of EthAPIBackend Jan 7, 2020
@fjl fjl merged commit a1bc0e3 into ethereum:master Jan 7, 2020
@fjl fjl removed the status:triage label Jan 7, 2020
@karalabe
Copy link
Member

karalabe commented Jan 9, 2020

This PR breaks the oracle as it leaves the API backend nil.

karalabe added a commit that referenced this pull request Jan 9, 2020
karalabe added a commit that referenced this pull request Jan 9, 2020
@karalabe karalabe added this to the 1.9.10 milestone Jan 9, 2020
enriquefynn pushed a commit to enriquefynn/go-ethereum that referenced this pull request Mar 10, 2021
enriquefynn pushed a commit to enriquefynn/go-ethereum that referenced this pull request Mar 10, 2021
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

Successfully merging this pull request may close these issues.

4 participants