Skip to content

Use even types for opt_anchors #1906

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

Merged

Conversation

wpaulino
Copy link
Contributor

@wpaulino wpaulino commented Dec 7, 2022

This prevents downgrading to older versions of LDK that are not capable of supporting anchor channels when the field is serialized (i.e., opt_anchors is Some).

This was pointed out in #1825 (comment).

This prevents downgrading to older versions of LDK that are not capable
of supporting anchor channels when the field is serialized (i.e.,
opt_anchors is `Some`).
@wpaulino wpaulino force-pushed the prevent-downgrade-from-anchors branch from 9bae573 to b578480 Compare December 7, 2022 18:36
@wpaulino wpaulino marked this pull request as ready for review December 7, 2022 18:36
Copy link

@ariard ariard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK b578480

Maybe there is a comment update to do in #1860 about the latest version you cannot downgrade to.

@TheBlueMatt TheBlueMatt merged commit 3d2c8f5 into lightningdevkit:main Dec 12, 2022
@wpaulino wpaulino deleted the prevent-downgrade-from-anchors branch December 12, 2022 05:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants