Skip to content

Commit f152e78

Browse files
committed
f: documentation
1 parent 8de58c1 commit f152e78

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
@@ -1143,9 +1143,12 @@ struct CommitmentData<'a> {
11431143
/// A struct gathering stats on a commitment transaction, either local or remote.
11441144
#[derive(Debug, PartialEq)]
11451145
pub(crate) struct CommitmentStats {
1146-
pub(crate) total_fee_sat: u64, // the total fee included in the transaction
1147-
pub(crate) local_balance_before_fee_msat: u64, // local balance before fees and anchors *not* considering dust limits
1148-
pub(crate) remote_balance_before_fee_msat: u64, // remote balance before fees and anchors *not* considering dust limits
1146+
/// the total fee included in the transaction
1147+
pub total_fee_sat: u64,
1148+
/// local balance before fees *not* considering dust limits
1149+
pub local_balance_before_fee_msat: u64,
1150+
/// remote balance before fees *not* considering dust limits
1151+
pub remote_balance_before_fee_msat: u64,
11491152
}
11501153

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

0 commit comments

Comments
 (0)