Skip to content

Commit b10d1e8

Browse files
committed
f: documentation
1 parent cb109e1 commit b10d1e8

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

lightning/src/ln/channel.rs

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1130,9 +1130,12 @@ struct CommitmentData<'a> {
11301130

11311131
/// A struct gathering stats on a commitment transaction, either local or remote.
11321132
struct CommitmentStats {
1133-
total_fee_sat: u64, // the total fee included in the transaction
1134-
local_balance_before_fee_msat: u64, // local balance before fees and anchors *not* considering dust limits
1135-
remote_balance_before_fee_msat: u64, // remote balance before fees and anchors *not* considering dust limits
1133+
/// The total fee included in the commitment transaction
1134+
total_fee_sat: u64,
1135+
/// The local balance before fees *not* considering dust limits
1136+
local_balance_before_fee_msat: u64,
1137+
/// The remote balance before fees *not* considering dust limits
1138+
remote_balance_before_fee_msat: u64,
11361139
}
11371140

11381141
/// Used when calculating whether we or the remote can afford an additional HTLC.

0 commit comments

Comments
 (0)