Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
wallet: don't try to set a timer past 2038 on 32-bit platforms.
It'll wrap, probably be in the past, and infinite loop. This was caused by an invoice with expiry set at 2076. This wrap caused us to think the expiry has already passed, and keep looping! Reported-by: @telelvis Fixes: #6339 Signed-off-by: Rusty Russell <[email protected]> Changelog-Fixed: lightnind: don't infinite loop on 32 bit platforms if only invoices are expiring after 2038.
- Loading branch information