Skip to content

Commit 2410913

Browse files
committed
fixup: Add TxBuilder::get_builder_stats
clarify comments
1 parent 3696d99 commit 2410913

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lightning/src/sign/tx_builder.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ impl TxBuilder for SpecTxBuilder {
239239
// Increment the feerate by a buffer to calculate dust exposure
240240
let dust_buffer_feerate = get_dust_buffer_feerate(feerate_per_kw);
241241

242-
// Calculate dust exposure on holder's commitment transaction
242+
// Calculate fees and dust exposure on holder's commitment transaction
243243
let on_holder_htlc_count = htlcs
244244
.iter()
245245
.filter(|htlc| {
@@ -255,7 +255,7 @@ impl TxBuilder for SpecTxBuilder {
255255
&htlcs,
256256
);
257257

258-
// Calculate dust exposure on counterparty's commitment transaction
258+
// Calculate fees and dust exposure on counterparty's commitment transaction
259259
let on_counterparty_htlc_count = htlcs
260260
.iter()
261261
.filter(|htlc| {

0 commit comments

Comments
 (0)