Skip to content

Conversation

Roasbeef
Copy link
Member

@Roasbeef Roasbeef commented Feb 1, 2019

In this commit, we fix a bug in the way we defined our even/odd features
for a particular feature. The check for if a feature bit is part of a
pair assumes that the pair bit has the exact same name as the bit being
queried. The way we defined our feature map didn't take note of this
assumption, as a result, any attempts to require a new bit moving from
optional to required would fail since the bit would be found, but the
names differed.

In this commit, we fix a bug in the way we defined our even/odd features
for a particular feature. The check for if a feature bit is part of a
pair assumes that the pair bit has the exact same name as the bit being
queried. The way we defined our feature map didn't take note of this
assumption, as a result, any attempts to require a new bit moving from
optional to required would fail since the bit would be found, but the
names differed.
@sangaman
Copy link
Contributor

sangaman commented Feb 1, 2019

I was getting the issue of seeing unable to start peer: data loss protection required messages endlessly without lnd completing starting up and channels becoming active using the changes from #2500. With this branch that issue is gone and things seem to be operating normally.

Copy link
Contributor

@cfromknecht cfromknecht left a comment

Choose a reason for hiding this comment

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

LGTM 🙏

Defer further testing, round 2

@Roasbeef Roasbeef merged commit b7387a5 into lightningnetwork:master Feb 1, 2019
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