mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-02 13:54:21 +01:00
So if there are no HTLCs, and the receiver can't spend anyway, don't sign. This has the added benefit that no two signed commitment transactions will ever be identical (the revocation preimage changes). Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>