Document exactly our CLTV sanitization policy for final incoming HTLCs
[rust-lightning] / lightning / src / util / events.rs
index ca6355af001e5eb7d05a96a7ffa22548c9340d87..43a2dc3bd6f881ab4ec69241f30f5a2b37651a8e 100644 (file)
@@ -51,8 +51,9 @@ pub enum Event {
        },
        /// Indicates we've received money! Just gotta dig out that payment preimage and feed it to
        /// ChannelManager::claim_funds to get it....
-       /// Note that if the preimage is not known or the amount paid is incorrect, you must call
-       /// ChannelManager::fail_htlc_backwards to free up resources for this HTLC.
+       /// Note that if the preimage is not known or the amount paid is incorrect, you should call
+       /// ChannelManager::fail_htlc_backwards to free up resources for this HTLC and avoid
+       /// network congestion.
        /// The amount paid should be considered 'incorrect' when it is less than or more than twice
        /// the amount expected.
        /// If you fail to call either ChannelManager::claim_funds or