Function bech32::primitives::segwit::is_valid_witness_program_length
source · pub fn is_valid_witness_program_length(
length: usize,
witness_version: Fe32
) -> bool
Expand description
Returns true if length
represents a valid witness program length for witness_version
.