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

taproot updates: fix htlc scripts correctness #21

Merged
merged 1 commit into from
May 24, 2022

Conversation

antonilol
Copy link
Contributor

script public key order was not consistent with the signatures and preimages need to be 32 bytes

i could also swap the signatures around but chose this order because bolt 03 also does the remote sig first (arbitrary)

Copy link
Owner

@t-bast t-bast left a comment

Choose a reason for hiding this comment

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

Thanks!

@t-bast t-bast merged commit 7a46e7b into t-bast:master May 24, 2022
@antonilol antonilol deleted the taproot-updates-2 branch May 24, 2022 06:33
@t-bast
Copy link
Owner

t-bast commented May 31, 2022

@antonilol there is now a spec proposal for taproot, don't hesitate to post feedback on it: lightning/bolts#995

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