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)),