Skip to content

fix: add sorting to satisfy_helper for sortedmulti#921

Merged
apoelstra merged 1 commit intorust-bitcoin:masterfrom
trevarj:fix_satisfy_helper_sortedmulti
Apr 13, 2026
Merged

fix: add sorting to satisfy_helper for sortedmulti#921
apoelstra merged 1 commit intorust-bitcoin:masterfrom
trevarj:fix_satisfy_helper_sortedmulti

Conversation

@trevarj
Copy link
Copy Markdown
Contributor

@trevarj trevarj commented Apr 13, 2026

This logic was done in sortedmulti_a but accidentally overlooked when
refactoring sortedmulti.

Wrote a test that proves two differently ordered sortedmulti descriptors produce
the same witness.

Found by Andrew in #915 (comment)

@trevarj trevarj force-pushed the fix_satisfy_helper_sortedmulti branch from 4e58fbd to fb40743 Compare April 13, 2026 18:26
This logic was done in sortedmulti_a but accidentally overlooked when
refactoring sortedmulti.

Wrote a test that proves two differently ordered sortedmulti descriptors produce
the same witness.
@trevarj trevarj force-pushed the fix_satisfy_helper_sortedmulti branch from fb40743 to 3f20a69 Compare April 13, 2026 18:28
Copy link
Copy Markdown
Member

@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.

ACK 3f20a69; successfully ran local tests

@apoelstra apoelstra merged commit c9b0499 into rust-bitcoin:master Apr 13, 2026
26 checks passed
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