Skip to content

musig: use [u8; 32] rather than Message for musig2 messages #811

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

apoelstra
Copy link
Member

The messages we sign with musig2 do not need to be pre-hashed. They just need to be 32 bytes long. To make this clearer, stop using Message.

Fixes #810.

The messages we sign with musig2 do not need to be pre-hashed. They just
need to be 32 bytes long. To make this clearer, stop using Message.
Copy link
Member Author

@apoelstra apoelstra left a comment

Choose a reason for hiding this comment

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

On 9535f62 successfully ran local tests

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.

musig nonce gen function should take a &[u8] not a Message
1 participant