pub fn validate_version(key: &PSBTKey, val: &PSBTValue) -> Result<(), PSBTError> {
        validate_expected_key_type(key, 0xfb)?;
        validate_single_byte_key_type(key)?;
        validate_fixed_val_length(val, 4)
    }
/// Validate version kv pair. Checks whether the version is exactly 32-bytes.
Validate version kv pair. Checks whether the version is exactly 32-bytes.
Validate version kv pair . Checks whether the version is exactly 32 - bytes .
pub fn validate_version(key: &PSBTKey, val: &PSBTValue) -> Result<(), PSBTError> {
        validate_expected_key_type(key, 0xfb)?;
        validate_single_byte_key_type(key)?;
        validate_fixed_val_length(val, 4)
    }
pub fn validate_version ( key : & PSBTKey , val : & PSBTValue ) -> Result < ( ) , PSBTError > { validate_expected_key_type ( key , 0xfb ) ? ; validate_single_byte_key_type ( key ) ? ; validate_fixed_val_length ( val , 4 ) }
Validate version kv pair.
Validate version kv pair .
key
&PSBTKey
val
&PSBTValue
key
&PSBTKey
val
&PSBTValue