Skip to content

Commit d045482

Browse files
committed
f temp bug
1 parent 7c087b2 commit d045482

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
@@ -2192,7 +2192,7 @@ impl<T: Time> Readable for ChannelLiquidity<T> {
21922192
let offset_history_duration_since_epoch =
21932193
offset_history_duration_since_epoch.unwrap_or(duration_since_epoch);
21942194
let offset_history_last_updated = if wall_clock_now > offset_history_duration_since_epoch {
2195-
now - (wall_clock_now - duration_since_epoch)
2195+
now - (wall_clock_now - offset_history_duration_since_epoch)
21962196
} else { now };
21972197

21982198
if min_liquidity_offset_history.is_none() {

0 commit comments

Comments
 (0)