Skip to content

Commit a982b27

Browse files
committed
f nits from tnull
1 parent 877d9cf commit a982b27

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lightning/src/routing/scoring.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -325,10 +325,10 @@ type ConfiguredTime = Eternity;
325325
///
326326
/// This probability is converted into a linear score and multiplied with the
327327
/// [`liquidity_penalty_multiplier_msat`] and [`liquidity_penalty_amount_multiplier_msat`]
328-
/// parameters to get a concrete msat penalty. See the documentation for those parameters for the
329-
/// exact formulas.
328+
/// parameters to calculate a concrete penalty in milli-satoshis. See the documentation of those
329+
/// parameters for the exact formulas.
330330
///
331-
/// The liquidity bounds are then decayed by halving them every [`liquidity_offset_half_life`].
331+
/// The liquidity bounds are decayed by halving them every [`liquidity_offset_half_life`].
332332
///
333333
/// Further, we track the history of our upper and lower liquidity bounds for each channel,
334334
/// allowing us to assign a second penalty (using [`historical_liquidity_penalty_multiplier_msat`]

0 commit comments

Comments
 (0)