Skip to content

Commit 53e1c59

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 57d2e1f commit 53e1c59

File tree

1 file changed

+203
-121
lines changed

1 file changed

+203
-121
lines changed

0 commit comments

Comments
 (0)