Skip to content
This repository was archived by the owner on Oct 22, 2026. It is now read-only.

Mark WalletPolicyError as non-exhaustive - #1054

Merged
apoelstra merged 1 commit into
rust-bitcoin:masterfrom
trevarj:fix/wallet-policy-error-non-exhaustive
Oct 1, 2026
Merged

apoelstra merged 1 commit into
rust-bitcoin:masterfrom
trevarj:fix/wallet-policy-error-non-exhaustive

Conversation

@trevarj

@trevarj trevarj commented Sep 30, 2026

Copy link
Copy Markdown
Contributor

Mark WalletPolicyError as #[non_exhaustive] so future error variants can be added
without breaking downstream exhaustive matches.

@apoelstra apoelstra left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

ACK 2b739c9; successfully ran local tests

@apoelstra
apoelstra merged commit 699a4bd into rust-bitcoin:master Oct 1, 2026
13 checks passed
apoelstra added a commit that referenced this pull request Oct 17, 2026
c891370 chore(release): prepare 13.2.0 (Trevor Arjeski)
f7b7f86 fix(descriptor): mark WalletPolicyError as non-exhaustive (Trevor Arjeski)
b804c27 fix(descriptor): reject raw pkh in Taproot leaves when parsing Tr (PeterXMR)

Pull request description:

  Backport #1054 to `release-13.x`, marking `WalletPolicyError` as non-exhaustive.
  Backport #1061 (20d7133), rejecting raw public-key hashes in directly parsed Taproot leaves.
  Bump to 13.2.0 and update the lockfiles and changelog for changes since 13.1.0.
  
  Both backports precede the version bump commit.


ACKs for top commit:
  apoelstra:
    ACK c891370; successfully ran local tests


Tree-SHA512: 649a829acccb474caffe487774e305dbf0394c03c975c02c27c1a9434db62a91edf43c5c74bce5095ba7bde1d09a4f166dd1da0532157c0b5b693b5e6fd04aef
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants