diff --git a/src/util/address.rs b/src/util/address.rs index afa4c714..51b3751a 100644 --- a/src/util/address.rs +++ b/src/util/address.rs @@ -139,6 +139,7 @@ impl From for Error { /// The different types of addresses. #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[non_exhaustive] pub enum AddressType { /// Pay to pubkey hash. P2pkh,