timer: handle time going backwards. master origin/master
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 23 Mar 2021 03:06:50 +0000 (13:36 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 23 Mar 2021 03:06:50 +0000 (13:36 +1030)
commit48b4ffc38ecef0d423a09967e6784adb5807033a
tree9d80802c8f7b9941eaab6e91e266500ec17a887b
parent56d5c41fa3f3148b6afb4706fa80fead0e232eb2
timer: handle time going backwards.

As seen in https://github.com/ElementsProject/lightning/issues/4401

OpenBSD 6.8 inside VirtualBox.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
ccan/timer/timer.c