Skip to content

Commit 5540935

Browse files
committed
f fix math
1 parent 6481617 commit 5540935

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lightning/src/routing/scoring.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -589,7 +589,7 @@ pub struct ProbabilisticScoringFeeParameters {
589589
/// liquidity in a channel is just as likely to be at any point between our lower and upper
590590
/// bounds.
591591
///
592-
/// If this flag is *not* set, that PDF is `(x - 0.5*capacity) ^ 6`. That is, we use an
592+
/// If this flag is *not* set, that PDF is `(x - 0.5*capacity) ^ 2`. That is, we use an
593593
/// exponential curve which expects the liquidity of a channel to lie "at the edges". This
594594
/// matches experimental results - most routing nodes do not aggressively rebalance their
595595
/// channels and flows in the network are often unbalanced, leaving liquidity usually

0 commit comments

Comments
 (0)