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/downloader: removed unnecessary invalid chain error check #22052

Merged
merged 1 commit into from
Dec 27, 2020

Conversation

jeongkyun-oh
Copy link
Contributor

In downloader queue update (#21263), the invalid chain error assignment is removed.
So, the invalid chain error checking is not necessary anymore.

@jeongkyun-oh jeongkyun-oh changed the title Removed unnecessary invalid chain error check eth/downloader: removed unnecessary invalid chain error check Dec 22, 2020
@holiman
Copy link
Contributor

holiman commented Dec 23, 2020

This LGTM, seems like the only possible values it can have at that point is errInvalidBody, or errInvalidReceipt or errStaleDelivery.

@holiman holiman added this to the 1.10.0 milestone Dec 27, 2020
@holiman holiman merged commit 653e8b9 into ethereum:master Dec 27, 2020
@holiman
Copy link
Contributor

holiman commented Dec 27, 2020

Thanks!

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.

2 participants