Function bech32::primitives::segwit::validate_witness_version
source · pub fn validate_witness_version(
witness_version: Fe32
) -> Result<(), InvalidWitnessVersionError>
Expand description
Checks that the given field element represents a valid segwit witness version.