From a4b5fb40021eff101a625bb7398d111d106c07ae Mon Sep 17 00:00:00 2001 From: benthecarman Date: Mon, 27 Feb 2023 00:33:20 -0600 Subject: [PATCH] Fix docs for UnknownMagic to be accurate --- bitcoin/src/network/constants.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);