mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-24 01:24:26 +01:00
Return false if the timelock didn't mature yet, not the other way around. Also, the check shouldn't be strict: if the CSV is 1 it is valid at utxo->blockheight + 1. Signed-off-by: Antoine Poinsot <darosior@protonmail.com>