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