Function bech32::primitives::segwit::validate_witness_program_length
source · pub fn validate_witness_program_length(
length: usize,
version: Fe32
) -> Result<(), WitnessLengthError>
Expand description
Validates the segwit witness program length
rules for witness version
.