Allow `ZeroConf` channel type and test for it.
[rust-lightning] / lightning / src / util / events.rs
index 4acbd7716d9b154312b6a6aa86f6d82cde8b6a0f..32161e61aaffd64807415d64ae3001c56b10c2ef 100644 (file)
@@ -502,8 +502,8 @@ pub enum Event {
                /// Furthermore, note that if [`ChannelTypeFeatures::supports_zero_conf`] returns true on this type,
                /// the resulting [`ChannelManager`] will not be readable by versions of LDK prior to
                /// 0.0.107. Channels setting this type also need to get manually accepted via
-               /// [`crate::ln::channelmanager::ChannelManager::accept_inbound_channel_from_trusted_peer_0conf`], or will be rejected
-               /// otherwise.
+               /// [`crate::ln::channelmanager::ChannelManager::accept_inbound_channel_from_trusted_peer_0conf`],
+               /// or will be rejected otherwise.
                ///
                /// [`ChannelManager`]: crate::ln::channelmanager::ChannelManager
                channel_type: ChannelTypeFeatures,