diff --git a/bitcoin/src/network/constants.rs b/bitcoin/src/network/constants.rs index 2e2ad573..202c2d69 100644 --- a/bitcoin/src/network/constants.rs +++ b/bitcoin/src/network/constants.rs @@ -441,7 +441,7 @@ impl fmt::Display for UnknownMagic { impl_std_error!(UnknownMagic); /// Flags to indicate which network services a node supports. -#[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] +#[derive(Debug, Clone, Copy, Default, PartialEq, Eq, PartialOrd, Ord, Hash)] pub struct ServiceFlags(u64); impl ServiceFlags {