Skip to content

Commit 1dc0a7d

Browse files
committed
Consider currently confirmed FundingScope when claiming commitments
Once a commitment transaction confirms, we may have outputs to claim. To determine whom the commitment transaction belongs to, we generally compare its `txid` against what we know be ours and the counterparty's. This, however, relies on being able to match on the expected `FundingScope`, such that we can produce the necessary output claims. Since a commitment transaction confirming implies that the funding transaction it spends has also confirmed, we rely on `alternative_funding_confirmed` to obtain the corresponding `FundingScope`.
1 parent 8177d06 commit 1dc0a7d

File tree

1 file changed

+162
-116
lines changed

1 file changed

+162
-116
lines changed

0 commit comments

Comments
 (0)