pub fn validate_in_partial_sig(key: &PSBTKey, val: &PSBTValue) -> Result<(), PSBTError> {
        // 34 = 33-byte pubkey + 1-byte type
        validate_expected_key_type(key, 2)?;
        if validate_fixed_key_length(key, 34).is_err() {
            validate_fixed_key_length(key, 66)?;
        }
        try_val_as_signature(val).map(|_| ())
    }
/// Validate a PSBT_IN_PARTIAL_SIG key-value pair in an input map
Validate a PSBT_IN_PARTIAL_SIG key-value pair in an input map
Validate a PSBT_IN_PARTIAL_SIG key - value pair in an input map
pub fn validate_in_partial_sig(key: &PSBTKey, val: &PSBTValue) -> Result<(), PSBTError> {
        // 34 = 33-byte pubkey + 1-byte type
        validate_expected_key_type(key, 2)?;
        if validate_fixed_key_length(key, 34).is_err() {
            validate_fixed_key_length(key, 66)?;
        }
        try_val_as_signature(val).map(|_| ())
    }
pub fn validate_in_partial_sig ( key : & PSBTKey , val : & PSBTValue ) -> Result < ( ) , PSBTError > { // 34 = 33-byte pubkey + 1-byte type validate_expected_key_type ( key , 2 ) ? ; if validate_fixed_key_length ( key , 34 ) . is_err ( ) { validate_fixed_key_length ( key , 66 ) ? ; } try_val_as_signature ( val ) . map ( | _ | ( ) ) }
Validate a PSBT_IN_PARTIAL_SIG key-value pair in an input map
Validate a PSBT_IN_PARTIAL_SIG key - value pair in an input map
key
&PSBTKey
val
&PSBTValue
key
&PSBTKey
val
&PSBTValue