Skip to content

Commit

Permalink
chore: Convert UnspentTxOut::new to UnspentTxOut::from_partial in cre…
Browse files Browse the repository at this point in the history
…ate_payout_txhandler.
  • Loading branch information
ceyhunsen committed Feb 8, 2025
1 parent ff53e32 commit df5a4be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/src/builder/transaction/operator_reimburse.rs
Original file line number Diff line number Diff line change
Expand Up @@ -219,9 +219,9 @@ pub fn create_payout_txhandler(
sighash_type: bitcoin::sighash::TapSighashType::SinglePlusAnyoneCanPay,
};
let witness = Witness::p2tr_key_spend(&user_sig_wrapped);
let txin = SpendableTxIn::new(input_utxo.outpoint, input_utxo.txout, vec![], None);
let txin = SpendableTxIn::new_partial(input_utxo.outpoint, input_utxo.txout);

let output_txout = UnspentTxOut::new(output_txout.clone(), vec![], None);
let output_txout = UnspentTxOut::from_partial(output_txout.clone());

let scripts: Vec<Arc<dyn SpendableScript>> =
vec![Arc::new(WithdrawalScript::new(operator_idx))];
Expand Down

0 comments on commit df5a4be

Please sign in to comment.