X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=lightning%2Fsrc%2Foffers%2Finvoice_request.rs;h=5b15704ca5127f413a0a26f3958ada9899f6c3fc;hb=9422370dd2b2ec73115b5950fa5e19db51c8ea73;hp=e34d9d9cff14c9d975da1d4f08d76300725c230e;hpb=4059677e8e7421c639a4b38eeca1423efb33a3f6;p=rust-lightning diff --git a/lightning/src/offers/invoice_request.rs b/lightning/src/offers/invoice_request.rs index e34d9d9c..5b15704c 100644 --- a/lightning/src/offers/invoice_request.rs +++ b/lightning/src/offers/invoice_request.rs @@ -333,7 +333,9 @@ impl InvoiceRequest { /// for the invoice. /// /// 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 was used for + /// [`Offer::signing_pubkey`]. /// /// Errors if the request contains unknown required features. ///