Skip to content

Commit

Permalink
f prev
Browse files Browse the repository at this point in the history
  • Loading branch information
TheBlueMatt committed Dec 18, 2024
1 parent 209516a commit 7701a8e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lightning/src/routing/scoring.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1979,7 +1979,6 @@ mod bucketed_history {
debug_assert!(bucket_weight <= total_valid_points_tracked);

let bucket_prob = (bucket_weight as u128) * 1024 * 1024 * 1024 / total_valid_points_tracked as u128;
if payment_pos < min_bucket_start_pos {

if payment_pos >= max_bucket_end_pos {
// Success probability 0, the payment amount may be above the max liquidity
Expand Down

0 comments on commit 7701a8e

Please sign in to comment.