diff --git a/bitcoin/src/amount.rs b/bitcoin/src/amount.rs index b4a9a6c2..47093b5e 100644 --- a/bitcoin/src/amount.rs +++ b/bitcoin/src/amount.rs @@ -31,6 +31,7 @@ use crate::prelude::*; /// assert_eq!(Amount::from_str("1000 msats").unwrap(), Amount::from_sat(1)); /// ``` #[derive(Debug, Clone, Copy, Eq, PartialEq, Hash)] +#[non_exhaustive] pub enum Denomination { /// BTC Bitcoin,