Skip to content

Commit a335c27

Browse files
committed
f fix compilation
1 parent 1e40b25 commit a335c27

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
@@ -1763,7 +1763,7 @@ mod bucketed_history {
17631763

17641764
// If the total valid points is smaller than 1.0 (i.e. 32 in our fixed-point scheme),
17651765
// treat it as if we were fully decayed.
1766-
const FULLY_DECAYED = BUCKET_FIXED_POINT_ONE * BUCKET_FIXED_POINT_ONE;
1766+
const FULLY_DECAYED: u16 = BUCKET_FIXED_POINT_ONE * BUCKET_FIXED_POINT_ONE;
17671767
if total_valid_points_tracked.checked_shr(required_decays).unwrap_or(0) < FULLY_DECAYED.into() {
17681768
return None;
17691769
}

0 commit comments

Comments
 (0)