We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bdd6855 commit bde1df5Copy full SHA for bde1df5
src/primitives/decode.rs
@@ -444,7 +444,8 @@ impl<'s> CheckedHrpstring<'s> {
444
/// Validates the segwit witness length rules.
445
///
446
/// Must be called after the witness version byte is removed from the data part.
447
- fn validate_witness_program_length(
+ #[inline]
448
+ pub fn validate_witness_program_length(
449
&self,
450
witness_version: Fe32,
451
) -> Result<(), WitnessLengthError> {
0 commit comments