Skip to content

Commit 505ac9d

Browse files
committed
f be more explicit
1 parent 58e13b8 commit 505ac9d

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

lightning/src/routing/scoring.rs

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -396,9 +396,10 @@ pub struct ProbabilisticScoringParameters {
396396
/// This penalty is applied when the amount we're attempting to send over a channel exceeds our
397397
/// current estimate of the channel's available liquidity.
398398
///
399-
/// Note that in this case the [`liquidity_penalty_multiplier_msat`] and
400-
/// [`amount_penalty_multiplier_msat`]-based penalties are still included in the overall
401-
/// penalty.
399+
/// Note that in this case all other penalties, including the
400+
/// [`liquidity_penalty_multiplier_msat`] and [`amount_penalty_multiplier_msat`]-based
401+
/// penalties, as well as the [`base_penalty_msat`] and the [`anti_probing_penalty_msat`], if
402+
/// applicable, are still included in the overall penalty.
402403
///
403404
/// If you wish to avoid creating paths with such channels entirely, setting this to a value of
404405
/// `u64::max_value()` will guarantee that.
@@ -407,6 +408,8 @@ pub struct ProbabilisticScoringParameters {
407408
///
408409
/// [`liquidity_penalty_multiplier_msat`]: Self::liquidity_penalty_multiplier_msat
409410
/// [`amount_penalty_multiplier_msat`]: Self::amount_penalty_multiplier_msat
411+
/// [`base_penalty_msat`]: Self::base_penalty_msat
412+
/// [`anti_probing_penalty_msat`]: Self::anti_probing_penalty_msat
410413
pub considered_impossible_penalty_msat: u64,
411414
}
412415

0 commit comments

Comments
 (0)