Skip to content

Commit 0b7f6d3

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 of 00e06a0
1 parent 5465db4 commit 0b7f6d3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lightning/src/ln/channelmanager.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4683,6 +4683,9 @@ 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, [`Event::FundingTransactionReadyForSigning`]
4687+
/// will be generated and [`ChannelManager::funding_transaction_signed`] should be called.
4688+
///
46864689
/// If any failures occur while negotiating the funding transaction, an [`Event::SpliceFailed`]
46874690
/// will be emitted. Any contributed inputs no longer used will be included here and thus can
46884691
/// be re-spent.

0 commit comments

Comments
 (0)