Skip to content

Conversation

@bhandras
Copy link
Member

@bhandras bhandras commented Nov 4, 2022

This PR removes support for NP2WSH HTLCs from the code base. This is a breaking change for those clients who need to list those old swaps as the displayed HTLC address will be incorrect.

Pull Request Checklist

  • Update release_notes.md if your PR contains major features, breaking changes or bugfixes

Previously view may have set the output type wrongly for internal p2wsh
and p2tr loop-in swaps which is corrected in this commit.
This commit removes all code related to NP2WSH htlcs. These were
historically used when segwit adoption was very sporadic and are not
used anywhere anymore. Some historical swaps stored in the DB may be
listed with incorrect htlc adresses from here on.
@bhandras bhandras marked this pull request as ready for review November 4, 2022 18:40
Copy link
Member

@GeorgeTsagk GeorgeTsagk left a comment

Choose a reason for hiding this comment

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

LGTM!

Copy link
Member

@sputn1ck sputn1ck left a comment

Choose a reason for hiding this comment

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

LGTM 🚀

@bhandras bhandras merged commit 78e35d4 into lightninglabs:master Nov 16, 2022
@bhandras bhandras deleted the sunset-htlcv1 branch November 16, 2022 14:16
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