Skip to content

Commit 5b80256

Browse files
committed
f - docs fixes
1 parent 53f8760 commit 5b80256

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lightning/src/routing/scoring.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -566,13 +566,13 @@ pub struct ProbabilisticScoringParameters {
566566
///
567567
/// `-log10(success_probability) * amount_penalty_multiplier_msat * amount_msat / 2^20`
568568
///
569-
/// In practice, this means for 0.1 success probability (i.e., `-log10 == 1`) each `2^20`th of
569+
/// In practice, this means for 0.1 success probability (`-log10(0.1) == 1`) each `2^20`th of
570570
/// the amount will result in a penalty of the multiplier. And, as the success probability
571571
/// decreases, the negative `log10` weighting will increase dramatically. For higher success
572572
/// probabilities, the multiplier will have a decreasing effect as the negative `log10` will
573573
/// fall below `1`.
574574
///
575-
/// Default value: 256
575+
/// Default value: 256 msat
576576
pub amount_penalty_multiplier_msat: u64,
577577
}
578578

0 commit comments

Comments
 (0)