Skip to content

Commit c8b394c

Browse files
committed
Broadcast holder commitment for currently confirmed funding
A `FundingScope` can only be promoted once a `ChannelMonitorUpdateStep::RenegotiatedFundingLocked` is applied, or if the monitor is no longer accepting updates, once the renegotiated funding transaction is no longer under reorg risk. Because of this, our current `FundingScope` may not reflect the latest confirmed state in the chain. Before making a holder commitment broadcast, we must check which `FundingScope` is currently confirmed to ensure that it can propogate throughout the network.
1 parent e634121 commit c8b394c

File tree

2 files changed

+199
-74
lines changed

2 files changed

+199
-74
lines changed

0 commit comments

Comments
 (0)