mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-17 04:44:22 +01:00
Since we do both our own internal handling and handing it to lightningd, we add to `proposed_resolution` to handle the lightningd case. Note, in particular, that we fix the blockheight calculation: it's out by one, in that if we see a tx and our CSV lock is 5, we only need to wait 4 more blocks, not 5. This will matter as we start using it, and convert the tests. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>