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

fix: use quic.Version instead of the deprecated quic.VersionNumber #2955

Merged
merged 1 commit into from
Sep 10, 2024

Conversation

wlynxg
Copy link
Contributor

@wlynxg wlynxg commented Sep 10, 2024

start from [email protected], quic.VersionNumber has been officially removed, commit can be seen at quic-go/quic-go#4627

@sukunrt
Copy link
Member

sukunrt commented Sep 10, 2024

Thanks @wlynxg

Turns out staticcheck requires an empty line for deprecations. If that doc string were

// A VersionNumber is a QUIC version number.
//
// Deprecated: VersionNumber was renamed to Version.

staticcheck would have caught it.

@sukunrt sukunrt merged commit cd88f97 into libp2p:master Sep 10, 2024
7 of 9 checks passed
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.

3 participants