File tree 2 files changed +7
-4
lines changed
2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -1087,7 +1087,8 @@ pub struct ChannelDetails {
1087
1087
/// [`outbound_capacity_msat`]: ChannelDetails::outbound_capacity_msat
1088
1088
pub unspendable_punishment_reserve : Option < u64 > ,
1089
1089
/// The `user_channel_id` passed in to create_channel, or a random value if the channel was
1090
- /// inbound.
1090
+ /// inbound. This may be zero for inbound channels serialized with LDK versions prior to
1091
+ /// 0.0.113.
1091
1092
pub user_channel_id : u128 ,
1092
1093
/// Our total balance. This is the amount we would get if we close the channel.
1093
1094
/// This value is not exact. Due to various in-flight changes and feerate changes, exactly this
Original file line number Diff line number Diff line change @@ -319,7 +319,8 @@ pub enum Event {
319
319
/// The script which should be used in the transaction output.
320
320
output_script : Script ,
321
321
/// The `user_channel_id` value passed in to [`ChannelManager::create_channel`], or a
322
- /// random value for an inbound channel.
322
+ /// random value for an inbound channel. This may be zero for objects serialized with LDK
323
+ /// versions prior to 0.0.113.
323
324
///
324
325
/// [`ChannelManager::create_channel`]: crate::ln::channelmanager::ChannelManager::create_channel
325
326
user_channel_id : u128 ,
@@ -632,8 +633,9 @@ pub enum Event {
632
633
/// The `user_channel_id` value passed in to [`ChannelManager::create_channel`] for outbound
633
634
/// channels, or to [`ChannelManager::accept_inbound_channel`] for inbound channels if
634
635
/// [`UserConfig::manually_accept_inbound_channels`] config flag is set to true. Otherwise
635
- /// `user_channel_id` will be randomized for an inbound channel.
636
- /// This will always be zero for objects serialized with LDK versions prior to 0.0.102.
636
+ /// `user_channel_id` will be randomized for inbound channels.
637
+ /// This may be zero for inbound channels serialized prior to 0.0.113 and will always be
638
+ /// zero for objects serialized with LDK versions prior to 0.0.102.
637
639
///
638
640
/// [`ChannelManager::create_channel`]: crate::ln::channelmanager::ChannelManager::create_channel
639
641
/// [`ChannelManager::accept_inbound_channel`]: crate::ln::channelmanager::ChannelManager::accept_inbound_channel
You can’t perform that action at this time.
0 commit comments