File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1047,9 +1047,9 @@ fn success_probability(
10471047
10481048 // Assume the channel has a probability density function of (x - 0.5)^2 for values from
10491049 // 0 to 1 (where 1 is the channel's full capacity). The success probability given some
1050- // liquidity bounds is thus the integral under the curve from the minimum liquidity to
1051- // the amount , divided by the same integral from the minimum to the maximum liquidity
1052- // bounds.
1050+ // liquidity bounds is thus the integral under the curve from the amount to maximum
1051+ // estimated liquidity , divided by the same integral from the minimum to the maximum
1052+ // estimated liquidity bounds.
10531053 //
10541054 // Because the integral from x to y is simply (y - 0.5)^3 - (x - 0.5)^3, we can
10551055 // calculate the cumulative density function between the min/max bounds trivially. Note
You can’t perform that action at this time.
0 commit comments