Skip to content

Commit 4e03e45

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 919b1d8 commit 4e03e45

File tree

1 file changed

+209
-126
lines changed

1 file changed

+209
-126
lines changed

0 commit comments

Comments
 (0)