File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
lightning-liquidity/src/lsps2 Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -749,12 +749,16 @@ where
749
749
}
750
750
}
751
751
752
- /// Used by LSP to provide the client with the intercept scid and
753
- /// `cltv_expiry_delta` to include in their invoice. The intercept scid
754
- /// must be retrieved from [`ChannelManager::get_intercept_scid`].
752
+ /// Used by LSP to provide the client with the intercept scid, a unique `user_channel_id`, and `cltv_expiry_delta` to
753
+ /// include in their invoice.
754
+ ///
755
+ /// The intercept scid must be retrieved from [`ChannelManager::get_intercept_scid`]. The given
756
+ /// `user_channel_id` must be locally unique and will eventually be returned via events to be
757
+ /// used when opening the channel via [`ChannelManager::create_channel`].
755
758
///
756
759
/// Should be called in response to receiving a [`LSPS2ServiceEvent::BuyRequest`] event.
757
760
///
761
+ /// [`ChannelManager::create_channel`]: lightning::ln::channelmanager::ChannelManager::create_channel
758
762
/// [`ChannelManager::get_intercept_scid`]: lightning::ln::channelmanager::ChannelManager::get_intercept_scid
759
763
/// [`LSPS2ServiceEvent::BuyRequest`]: crate::lsps2::event::LSPS2ServiceEvent::BuyRequest
760
764
#[ allow( clippy:: await_holding_lock) ]
You can’t perform that action at this time.
0 commit comments