Mention `user_channel_id` rand. version req.
[rust-lightning] / lightning / src / ln / channelmanager.rs
index 420547fb20e6c0cc590f72f41a7261139caf189f..854ceef0a4b5f0b2a62fb3757717ce7b99c29c76 100644 (file)
@@ -1087,7 +1087,8 @@ pub struct ChannelDetails {
        /// [`outbound_capacity_msat`]: ChannelDetails::outbound_capacity_msat
        pub unspendable_punishment_reserve: Option<u64>,
        /// The `user_channel_id` passed in to create_channel, or a random value if the channel was
-       /// inbound.
+       /// inbound. This may be zero for inbound channels serialized with LDK versions prior to
+       /// 0.0.113.
        pub user_channel_id: u128,
        /// Our total balance.  This is the amount we would get if we close the channel.
        /// This value is not exact. Due to various in-flight changes and feerate changes, exactly this