mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-20 23:54:22 +01:00
We don't actually care how it does it, just that it ends the HTLCs, so simplify this logic which tries to match it exactly. This also fixes the flake where we would sometimes close the upstream channels, simply because we now wait at least one second per block. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>