@@ -318,8 +318,8 @@ pub enum Event {
318
318
channel_value_satoshis : u64 ,
319
319
/// The script which should be used in the transaction output.
320
320
output_script : Script ,
321
- /// The `user_channel_id` value passed in to [`ChannelManager::create_channel`], or 0 for
322
- /// an inbound channel.
321
+ /// The `user_channel_id` value passed in to [`ChannelManager::create_channel`], or a
322
+ /// random value for an inbound channel.
323
323
///
324
324
/// [`ChannelManager::create_channel`]: crate::ln::channelmanager::ChannelManager::create_channel
325
325
user_channel_id : u128 ,
@@ -612,7 +612,7 @@ pub enum Event {
612
612
/// The `user_channel_id` value passed in to [`ChannelManager::create_channel`] for outbound
613
613
/// channels, or to [`ChannelManager::accept_inbound_channel`] for inbound channels if
614
614
/// [`UserConfig::manually_accept_inbound_channels`] config flag is set to true. Otherwise
615
- /// `user_channel_id` will be 0 for an inbound channel.
615
+ /// `user_channel_id` will be randomized for an inbound channel.
616
616
///
617
617
/// [`ChannelManager::create_channel`]: crate::ln::channelmanager::ChannelManager::create_channel
618
618
/// [`ChannelManager::accept_inbound_channel`]: crate::ln::channelmanager::ChannelManager::accept_inbound_channel
@@ -632,7 +632,7 @@ pub enum Event {
632
632
/// The `user_channel_id` value passed in to [`ChannelManager::create_channel`] for outbound
633
633
/// channels, or to [`ChannelManager::accept_inbound_channel`] for inbound channels if
634
634
/// [`UserConfig::manually_accept_inbound_channels`] config flag is set to true. Otherwise
635
- /// `user_channel_id` will be 0 for an inbound channel.
635
+ /// `user_channel_id` will be randomized for an inbound channel.
636
636
/// This will always be zero for objects serialized with LDK versions prior to 0.0.102.
637
637
///
638
638
/// [`ChannelManager::create_channel`]: crate::ln::channelmanager::ChannelManager::create_channel
0 commit comments