Skip to content

Commit ec95651

Browse files
committed
Add ConfirmationTarget::OutputSpendingFee
1 parent cd4cc20 commit ec95651

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

fuzz/src/chanmon_consistency.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ impl FeeEstimator for FuzzEstimator {
8484
// Background feerate which is <= the minimum Normal feerate.
8585
match conf_target {
8686
ConfirmationTarget::OnChainSweep => MAX_FEE,
87-
ConfirmationTarget::ChannelCloseMinimum|ConfirmationTarget::AnchorChannelFee|ConfirmationTarget::MinAllowedAnchorChannelRemoteFee|ConfirmationTarget::MinAllowedNonAnchorChannelRemoteFee => 253,
87+
ConfirmationTarget::ChannelCloseMinimum|ConfirmationTarget::AnchorChannelFee|ConfirmationTarget::MinAllowedAnchorChannelRemoteFee|ConfirmationTarget::MinAllowedNonAnchorChannelRemoteFee|ConfirmationTarget::OutputSpendingFee => 253,
8888
ConfirmationTarget::NonAnchorChannelFee => cmp::min(self.ret_val.load(atomic::Ordering::Acquire), MAX_FEE),
8989
}
9090
}

lightning/src/chain/chaininterface.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,8 @@ pub enum ConfirmationTarget {
124124
///
125125
/// [`ChannelManager::close_channel_with_feerate_and_script`]: crate::ln::channelmanager::ChannelManager::close_channel_with_feerate_and_script
126126
ChannelCloseMinimum,
127+
/// XXX
128+
OutputSpendingFee,
127129
}
128130

129131
/// A trait which should be implemented to provide feerate information on a number of time

0 commit comments

Comments
 (0)