File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1795,8 +1795,8 @@ mod bucketed_history {
1795
1795
// values, which will result in us thinking we have some nontrivial probability of
1796
1796
// routing up to that amount.
1797
1797
if self . min_liquidity_offset_history . buckets [ 0 ] != 0 {
1798
- let mut highest_max_bucket_with_points = 0 ;
1799
- let mut total_max_points = 0 ;
1798
+ let mut highest_max_bucket_with_points = 0 ; // The highest max-bucket with any data
1799
+ let mut total_max_points = 0 ; // Total points in max-buckets to consider
1800
1800
for ( max_idx, max_bucket) in self . max_liquidity_offset_history . buckets . iter ( ) . enumerate ( ) {
1801
1801
if * max_bucket >= 32 {
1802
1802
highest_max_bucket_with_points = cmp:: max ( highest_max_bucket_with_points, max_idx) ;
You can’t perform that action at this time.
0 commit comments