From a4253fa5d9bb211f82e1f540e205390b8e1a2492 Mon Sep 17 00:00:00 2001 From: GarmashAlex Date: Thu, 24 Apr 2025 16:40:00 +0300 Subject: [PATCH] Update mod.rs --- bitcoin/src/taproot/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bitcoin/src/taproot/mod.rs b/bitcoin/src/taproot/mod.rs index abcc8ecc4..3e513a78e 100644 --- a/bitcoin/src/taproot/mod.rs +++ b/bitcoin/src/taproot/mod.rs @@ -1316,7 +1316,7 @@ impl FutureLeafVersion { ) -> Result { match version { TAPROOT_LEAF_TAPSCRIPT => unreachable!( - "FutureLeafVersion::from_consensus should be never called for 0xC0 value" + "FutureLeafVersion::from_consensus should never be called for 0xC0 value" ), TAPROOT_ANNEX_PREFIX => Err(InvalidTaprootLeafVersionError(TAPROOT_ANNEX_PREFIX)), odd if odd & 0xFE != odd => Err(InvalidTaprootLeafVersionError(odd)),