Update docs regarding payment path privacy
[rust-lightning] / lightning / src / offers / refund.rs
index e022f12755d83e6e92739e86c9f8257ee56ad9e8..fff33873954a6f92ab55ad2de8d326447dafd0ac 100644 (file)
@@ -331,7 +331,9 @@ impl Refund {
        /// offer, which does have a `signing_pubkey`.
        ///
        /// The `payment_paths` parameter is useful for maintaining the payment recipient's privacy. It
-       /// must contain one or more elements.
+       /// must contain one or more elements ordered from most-preferred to least-preferred, if there's
+       /// a preference. Note, however, that any privacy is lost if a public node id is used for
+       /// `signing_pubkey`.
        ///
        /// Errors if the request contains unknown required features.
        ///