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 33cebe0 commit e74888dCopy full SHA for e74888d
lightning/src/routing/scoring.rs
@@ -1181,7 +1181,7 @@ impl<T: Time> Readable for ChannelLiquidity<T> {
1181
// Because we write `last_updated` as wallclock time when we were written and create an
1182
// `Instant` which represents that wallclock time, we may hit that panic if wallclock time
1183
// is before when we were written. Thus, we check if we'd end up with a time in the future
1184
- // and just use `now` instead to avoid panicing later.
+ // and just use `now` instead to avoid panicking later.
1185
let wall_clock_now = T::duration_since_epoch();
1186
let now = T::now();
1187
let last_updated = if wall_clock_now > duration_since_epoch {
0 commit comments