pub fn filter_outputs_by_address(transaction: &Transaction, address: Address) -> Vec<Output> {
    transaction
        .outputs()
        .iter()
        .filter(|o| check_script_form(&o.lock_script, address))
        .cloned()
        .collect()
}
/// Returns a list of outputs in `Transaction`, which have a script address equal to `Address`.
Returns a list of outputs in `Transaction`, which have a script address equal to `Address`.
Returns a list of outputs in ` Transaction ` which have a script address equal to ` Address ` .
pub fn filter_outputs_by_address(transaction: &Transaction, address: Address) -> Vec<Output> {
    transaction
        .outputs()
        .iter()
        .filter(|o| check_script_form(&o.lock_script, address))
        .cloned()
        .collect()
}
pub fn filter_outputs_by_address ( transaction : & Transaction , address : Address ) -> Vec < Output > { transaction . outputs ( ) . iter ( ) . filter ( | o | check_script_form ( & o . lock_script , address ) ) . cloned ( ) . collect ( ) }
Returns a list of outputs in `Transaction`, which have a script address equal to `Address`.
Returns a list of outputs in ` Transaction ` which have a script address equal to ` Address ` .
transaction
&Transaction
address
Address