diff --git a/bitcoin/src/network/constants.rs b/bitcoin/src/network/constants.rs index 7172207d..aeb96a77 100644 --- a/bitcoin/src/network/constants.rs +++ b/bitcoin/src/network/constants.rs @@ -239,7 +239,7 @@ impl From for Magic { } } -/// Error in parsing magic from string. +/// Error in creating a Network from Magic bytes. #[derive(Debug, Clone, PartialEq, Eq)] pub struct UnknownMagic(Magic);