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 018a13f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/builder/transaction/operator_reimburse.rs
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ pub fn create_payout_txhandler(
let witness = Witness::p2tr_key_spend(&user_sig_wrapped);
let txin = SpendableTxIn::new(input_utxo.outpoint, input_utxo.txout, vec![], None);

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 018a13f

Please sign in to comment.