Skip to content

Commit

Permalink
contract: remove excessive non-exhaustives
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-orlovsky committed Dec 14, 2023
1 parent ea4e7c7 commit 59de59f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion dbc/src/anchor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,6 @@ pub enum AnchorError {
derive(Serialize, Deserialize),
serde(crate = "serde_crate", rename_all = "camelCase")
)]
#[non_exhaustive]
pub enum Proof {
/// Opret commitment (no extra-transaction proof is required).
#[strict_type(dumb)]
Expand Down
1 change: 0 additions & 1 deletion seals/src/txout/seal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ pub trait TxoSeal: From<Outpoint> {
#[derive(StrictType, StrictDumb, StrictEncode, StrictDecode)]
#[strict_type(lib = dbc::LIB_NAME_BPCORE, tags = repr, into_u8, try_from_u8)]
#[repr(u8)]
#[non_exhaustive]
pub enum CloseMethod {
/// Seal is closed over the message in form of OP_RETURN commitment present
/// in the first OP_RETURN-containing transaction output.
Expand Down

0 comments on commit 59de59f

Please sign in to comment.