Skip to content

eth/downloader: removed unnecessary invalid chain error check#22052

Merged
holiman merged 1 commit intoethereum:masterfrom
jeongkyun-oh:remove-unnecessary-check
Dec 27, 2020
Merged

eth/downloader: removed unnecessary invalid chain error check#22052
holiman merged 1 commit intoethereum:masterfrom
jeongkyun-oh:remove-unnecessary-check

Conversation

@jeongkyun-oh
Copy link
Copy Markdown
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
@jeongkyun-oh jeongkyun-oh force-pushed the remove-unnecessary-check branch from 7eade38 to 3075d5f Compare December 22, 2020 05:16
@holiman
Copy link
Copy Markdown
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
Copy Markdown
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