mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-24 01:24:26 +01:00
When we sent out an HTLC-Timeout or HTLC-Success tx, we need to spend it after the timeout so it's safely in our wallet. We generalize the tx_type OUR_UNILATERAL_TO_US_RETURN_TO_WALLET to OUR_DELAYED_RETURN_TO_WALLET, since we use it for HTLC transactions too. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>