We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7c087b2 commit d045482Copy full SHA for d045482
lightning/src/routing/scoring.rs
@@ -2192,7 +2192,7 @@ impl<T: Time> Readable for ChannelLiquidity<T> {
2192
let offset_history_duration_since_epoch =
2193
offset_history_duration_since_epoch.unwrap_or(duration_since_epoch);
2194
let offset_history_last_updated = if wall_clock_now > offset_history_duration_since_epoch {
2195
- now - (wall_clock_now - duration_since_epoch)
+ now - (wall_clock_now - offset_history_duration_since_epoch)
2196
} else { now };
2197
2198
if min_liquidity_offset_history.is_none() {
0 commit comments