/// This will run the script and verify the script signature. If its valid, it will return the resulting public key
/// from the script.
This will run the script and verify the script signature. If its valid, it will return the resulting public key
from the script.
This will run the script and verify the script signature . If its valid it will return the resulting public key from the script .
pub fn run_and_verify_script(&self, factory: &CommitmentFactory) -> Result<PublicKey, TransactionError> {
        let key = self.run_script()?;
        self.validate_script_signature(&key, factory)?;
        Ok(key)
    }
pub fn run_and_verify_script ( & self , factory : & CommitmentFactory ) -> Result < PublicKey , TransactionError > { let key = self . run_script ( ) ? ; self . validate_script_signature ( & key , factory ) ? ; Ok ( key ) }
This will run the script and verify the script signature.
This will run the script and verify the script signature .
&self
factory
&CommitmentFactory