Merge pull request #2617 from wpaulino/no-persist-same-channel-update
[rust-lightning] / lightning / src / ln / channelmanager.rs
index 6b4f494efe2851186afb97bb10dd053505c6b40f..cfa17295a53f37bd8fabd63b54ea4053a27f27eb 100644 (file)
@@ -3471,9 +3471,8 @@ where
        /// In general, a path may raise:
        ///  * [`APIError::InvalidRoute`] when an invalid route or forwarding parameter (cltv_delta, fee,
        ///    node public key) is specified.
-       ///  * [`APIError::ChannelUnavailable`] if the next-hop channel is not available for updates
-       ///    (including due to previous monitor update failure or new permanent monitor update
-       ///    failure).
+       ///  * [`APIError::ChannelUnavailable`] if the next-hop channel is not available as it has been
+       ///    closed, doesn't exist, or the peer is currently disconnected.
        ///  * [`APIError::MonitorUpdateInProgress`] if a new monitor update failure prevented sending the
        ///    relevant updates.
        ///