pub fn validate_bip32_derivations(key: &PSBTKey, val: &PSBTValue) -> Result<(), PSBTError> {
        // 34 = 33-byte pubkey + 1-byte type
        validate_expected_key_type(key, 6)?;
        try_key_as_pubkey(key)?;
        try_val_as_key_derivation(val)?;
        Ok(())
    }
/// Validate PSBT_IN_BIP32_DERIVATION kv pairs. Checks that the
/// pubkey is 33 bytes long, and that the value can be interpreted as a 4-byte fingerprint
/// with a list of 0-or-more 32-bit integers.
Validate PSBT_IN_BIP32_DERIVATION kv pairs. Checks that the
pubkey is 33 bytes long, and that the value can be interpreted as a 4-byte fingerprint
with a list of 0-or-more 32-bit integers.
Validate PSBT_IN_BIP32_DERIVATION kv pairs . Checks that the pubkey is 33 bytes long and that the value can be interpreted as a 4 - byte fingerprint with a list of 0 - or - more 32 - bit integers .
pub fn validate_bip32_derivations(key: &PSBTKey, val: &PSBTValue) -> Result<(), PSBTError> {
        // 34 = 33-byte pubkey + 1-byte type
        validate_expected_key_type(key, 6)?;
        try_key_as_pubkey(key)?;
        try_val_as_key_derivation(val)?;
        Ok(())
    }
pub fn validate_bip32_derivations ( key : & PSBTKey , val : & PSBTValue ) -> Result < ( ) , PSBTError > { // 34 = 33-byte pubkey + 1-byte type validate_expected_key_type ( key , 6 ) ? ; try_key_as_pubkey ( key ) ? ; try_val_as_key_derivation ( val ) ? ; Ok ( ( ) ) }
Validate PSBT_IN_BIP32_DERIVATION kv pairs.
Validate PSBT_IN_BIP32_DERIVATION kv pairs .
key
&PSBTKey
val
&PSBTValue
key
&PSBTKey
val
&PSBTValue