-
Notifications
You must be signed in to change notification settings - Fork 20.3k
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, eth/downloader: remove references to LightChain, LightSync #29711
Conversation
eth/downloader/modes.go
Outdated
@@ -29,7 +29,7 @@ const ( | |||
) | |||
|
|||
func (mode SyncMode) IsValid() bool { | |||
return mode >= FullSync && mode <= LightSync | |||
return mode >= FullSync && mode < LightSync |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should also get rid of downloader.LightSync
constant IMO.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So we are okay to remove the deprecated light flags as well then?
…. remove LightSync mode definition.
@jwasinger please fix the remaining build error |
…ereum#29711) Co-authored-by: Gary Rong <[email protected]>
…ereum#29711) Co-authored-by: Gary Rong <[email protected]>
No description provided.