rust-lightning/lightning
Valentine Wallace 6f1a0bf0e4
Claim HTLC output on-chain if preimage is recv'd after force-close
If we receive a preimage for an outgoing HTLC that solves an output on a
backwards force-closed channel, we need to claim the output on-chain.

Note that this commit also gets rid of the channel monitor redundantly setting
`self.counterparty_payment_script` in `check_spend_counterparty_transaction`.

Co-authored-by: Antoine Riard <ariard@student.42.fr>
Co-authored-by: Valentine Wallace <vwallace@protonmail.com>
2020-11-16 15:41:31 -05:00
..
src Claim HTLC output on-chain if preimage is recv'd after force-close 2020-11-16 15:41:31 -05:00
Cargo.toml Put test utilities behind a feature flag. 2020-10-16 11:30:33 -04:00