File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -334,14 +334,14 @@ pub struct ProbabilisticScoringParameters {
334
334
/// Default value: 500 msat
335
335
pub base_penalty_msat : u64 ,
336
336
337
- /// A fixed penalty in msats to apply to each channel, multiplied by the payment amount, in
338
- /// excess of the [`base_penalty_msat`].
337
+ /// A multiplier used with the payment amount to calculate a fixed penalty applied to each
338
+ /// channel, in excess of the [`base_penalty_msat`].
339
339
///
340
340
/// The purpose of the amount penalty is to avoid having fees dominate the channel cost (i.e.,
341
341
/// fees plus penalty) for large payments. The penalty is computed as the product of this
342
342
/// multiplier and `2^30`ths of the payment amount.
343
343
///
344
- /// ie `amount_penalty_multiplier_msat * amount_msat / 2^30`
344
+ /// ie `base_penalty_amount_multiplier_msat * amount_msat / 2^30`
345
345
///
346
346
/// Default value: 8,192 msat
347
347
///
You can’t perform that action at this time.
0 commit comments