Skip to content

Commit bec6694

Browse files
committed
Fix docs on error conditions in LeafVersion::from_consensus
1 parent 7c28b47 commit bec6694

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/util/taproot.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -820,7 +820,6 @@ impl LeafVersion {
820820
/// # Errors
821821
/// - If the last bit of the `version` is odd.
822822
/// - If the `version` is 0x50 ([`TAPROOT_ANNEX_PREFIX`]).
823-
/// - If the `version` is not a valid [`LeafVersion`] byte.
824823
// Text from BIP341:
825824
// In order to support some forms of static analysis that rely on
826825
// being able to identify script spends without access to the output being

0 commit comments

Comments
 (0)