Skip to content

Commit 29357f1

Browse files
committed
Add missing documentation for sigs-ready event to splice_channel
`ChannelManager::splice_channel` initiates a splice which ultimately generates a series of events. The most important of which, `FundingTransactionReadyForSigning` (which must always be handled, unlike the others), was not documented. Here we mention the event generation. Backport 0571f93
1 parent 5465db4 commit 29357f1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lightning/src/ln/channelmanager.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4683,6 +4683,10 @@ where
46834683
/// emitted. At this point, any inputs contributed to the splice can only be re-spent if an
46844684
/// [`Event::DiscardFunding`] is seen.
46854685
///
4686+
/// After initial signatures have been exchanged, if we contributed any inputs,
4687+
/// [`Event::FundingTransactionReadyForSigning`] will be generated and
4688+
/// [`ChannelManager::funding_transaction_signed`] should be called.
4689+
///
46864690
/// If any failures occur while negotiating the funding transaction, an [`Event::SpliceFailed`]
46874691
/// will be emitted. Any contributed inputs no longer used will be included here and thus can
46884692
/// be re-spent.

0 commit comments

Comments
 (0)