]> git.bitcoin.ninja Git - rust-lightning/commit
Claim HTLCs with preimage from currently confirmed commitment
authorWilmer Paulino <wilmer@wilmerpaulino.com>
Fri, 28 Jul 2023 22:32:29 +0000 (15:32 -0700)
committerWilmer Paulino <wilmer@wilmerpaulino.com>
Fri, 29 Sep 2023 16:58:35 +0000 (09:58 -0700)
commit89fbbb3ce296cb5a1b246a8f09ca7a9ed1f87948
tree525c2ecbfe125b83f2344fa5f867550942f24e14
parent6016101ac8ff31275f31f68eef8d33e94b19c0b1
Claim HTLCs with preimage from currently confirmed commitment

We should always claim HTLCs from the currently confirmed commitment,
rather than always claiming from the latest or previous counterparty
commitment if we've seen either confirm onchain at a prior point.
lightning/src/chain/channelmonitor.rs