Skip to content

Commit 7371a52

Browse files
committed
f Docs
1 parent a2616a9 commit 7371a52

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lightning/src/util/events.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -318,8 +318,8 @@ pub enum Event {
318318
channel_value_satoshis: u64,
319319
/// The script which should be used in the transaction output.
320320
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 for an inbound channel.
323323
///
324324
/// [`ChannelManager::create_channel`]: crate::ln::channelmanager::ChannelManager::create_channel
325325
user_channel_id: u128,
@@ -612,7 +612,7 @@ pub enum Event {
612612
/// The `user_channel_id` value passed in to [`ChannelManager::create_channel`] for outbound
613613
/// channels, or to [`ChannelManager::accept_inbound_channel`] for inbound channels if
614614
/// [`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.
616616
///
617617
/// [`ChannelManager::create_channel`]: crate::ln::channelmanager::ChannelManager::create_channel
618618
/// [`ChannelManager::accept_inbound_channel`]: crate::ln::channelmanager::ChannelManager::accept_inbound_channel
@@ -632,7 +632,7 @@ pub enum Event {
632632
/// The `user_channel_id` value passed in to [`ChannelManager::create_channel`] for outbound
633633
/// channels, or to [`ChannelManager::accept_inbound_channel`] for inbound channels if
634634
/// [`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.
636636
/// This will always be zero for objects serialized with LDK versions prior to 0.0.102.
637637
///
638638
/// [`ChannelManager::create_channel`]: crate::ln::channelmanager::ChannelManager::create_channel

0 commit comments

Comments
 (0)