Skip to content

Commit 00789ab

Browse files
committed
f - Fix time_is_strictly_increasing (maybe drop?)
1 parent aadb017 commit 00789ab

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lightning/src/routing/scorer.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -401,6 +401,7 @@ mod tests {
401401
use std::time::Instant;
402402

403403
let now = Instant::now();
404+
std::thread::sleep(Duration::from_millis(1));
404405
let elapsed = now.elapsed();
405406
let later = Instant::now();
406407

0 commit comments

Comments
 (0)