Skip to content

Commit 3c9bc5b

Browse files
committed
f Use ConfirmationTarget::OutputSpendingFee to spend outputs
1 parent c9f7c27 commit 3c9bc5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lightning/src/util/sweep.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -559,7 +559,7 @@ where
559559
&self, sweeper_state: &SweeperState, descriptors: Vec<&SpendableOutputDescriptor>,
560560
) -> Result<Transaction, ()> {
561561
let tx_feerate =
562-
self.fee_estimator.get_est_sat_per_1000_weight(ConfirmationTarget::AnchorChannelFee);
562+
self.fee_estimator.get_est_sat_per_1000_weight(ConfirmationTarget::OutputSpendingFee);
563563
let change_destination_script =
564564
self.change_destination_source.get_change_destination_script()?;
565565
let cur_height = sweeper_state.best_block.height;

0 commit comments

Comments
 (0)