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 tx_signatures ordering for splices #554

Merged
merged 1 commit into from
Nov 23, 2023
Merged

Conversation

t-bast
Copy link
Member

@t-bast t-bast commented Oct 17, 2023

We were incorrectly splitting the shared input amount based on each peer's balance, but for the signing order the peer that adds the shared input takes credit for the whole amount of that input.

@t-bast t-bast requested a review from pm47 October 17, 2023 15:30
sstone pushed a commit to sstone/lightning-kmp that referenced this pull request Oct 23, 2023
@t-bast t-bast force-pushed the splice-tx-sigs-order branch from 7d37eb4 to 6e5a851 Compare November 10, 2023 14:59
We were incorrectly splitting the shared input amount based on each peer's
balance, but for the signing order the peer that adds the shared input
takes credit for the whole amount of that input.
@t-bast t-bast force-pushed the splice-tx-sigs-order branch from 6e5a851 to a1d6a81 Compare November 20, 2023 14:10
@t-bast
Copy link
Member Author

t-bast commented Nov 22, 2023

We can merge this PR now, our node contains the fix and a work-around to follow both the old and new way of choosing the signature order 👍

@t-bast t-bast merged commit c6b8908 into master Nov 23, 2023
2 checks passed
@t-bast t-bast deleted the splice-tx-sigs-order branch November 23, 2023 13:49
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.

2 participants