Skip to content

Commit

Permalink
descriptor: make RGB descriptor type non-exhaustive
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-orlovsky committed Jan 5, 2024
1 parent a9dfdd8 commit 0c38656
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/descriptor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,7 @@ impl<K: DeriveXOnly> DescriptorRgb<K> for TapretKey<K> {
deserialize = "S::Compr: serde::Deserialize<'de>, S::XOnly: serde::Deserialize<'de>"
)
)]
#[non_exhaustive]
pub enum RgbDescr<S: DeriveSet = XpubDerivable> {
#[from]
Wpkh(Wpkh<S::Compr>),
Expand Down

0 comments on commit 0c38656

Please sign in to comment.