Skip to content

Commit 4f96b35

Browse files
authored
Merge pull request #3921 from tankyleo/dust-limit
[Custom Transactions] Add `TxBuilder::get_next_commitment_stats`
2 parents 5f73b70 + f75812f commit 4f96b35

File tree

4 files changed

+553
-239
lines changed

4 files changed

+553
-239
lines changed

lightning/src/ln/chan_utils.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ pub(crate) fn commit_tx_fee_sat(feerate_per_kw: u32, num_htlcs: usize, channel_t
236236
}
237237

238238
/// Returns the fees for success and timeout second stage HTLC transactions.
239-
pub(super) fn second_stage_tx_fees_sat(
239+
pub(crate) fn second_stage_tx_fees_sat(
240240
channel_type: &ChannelTypeFeatures, feerate_sat_per_1000_weight: u32,
241241
) -> (u64, u64) {
242242
if channel_type.supports_anchors_zero_fee_htlc_tx()

0 commit comments

Comments
 (0)