/// Create final commitment signature for the metadata, signing with both keys
Create final commitment signature for the metadata, signing with both keys
Create final commitment signature for the metadata signing with both keys
pub fn create_final_metadata_signature(
        value: &MicroTari,
        spending_key: &BlindingFactor,
        script: &TariScript,
        output_features: &OutputFeatures,
        sender_offset_private_key: &PrivateKey,
    ) -> Result<ComSignature, TransactionError> {
        let sender_offset_public_key = PublicKey::from_secret_key(sender_offset_private_key);
        TransactionOutput::create_metadata_signature(
            value,
            spending_key,
            script,
            output_features,
            &sender_offset_public_key,
            None,
            Some(sender_offset_private_key),
        )
    }
pub fn create_final_metadata_signature ( value : & MicroTari , spending_key : & BlindingFactor , script : & TariScript , output_features : & OutputFeatures , sender_offset_private_key : & PrivateKey , ) -> Result < ComSignature , TransactionError > { let sender_offset_public_key = PublicKey :: from_secret_key ( sender_offset_private_key ) ; TransactionOutput :: create_metadata_signature ( value , spending_key , script , output_features , & sender_offset_public_key , None , Some ( sender_offset_private_key ) , ) }
Create final commitment signature for the metadata, signing with both keys
Create final commitment signature for the metadata signing with both keys
value
&MicroTari
spending_key
&BlindingFactor
script
&TariScript
output_features
&OutputFeatures
sender_offset_private_key
&PrivateKey