diff --git a/bitcoin/src/address.rs b/bitcoin/src/address.rs index 9701bc0c..4daa0bc1 100644 --- a/bitcoin/src/address.rs +++ b/bitcoin/src/address.rs @@ -386,6 +386,7 @@ impl From for opcodes::All { /// The method used to produce an address. #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[non_exhaustive] pub enum Payload { /// P2PKH address. PubkeyHash(PubkeyHash),