Merge pull request #2434 from TheBlueMatt/2023-07-116-bindings-part-2
[rust-lightning] / lightning / src / offers / invoice.rs
index 279e31dd66a78cf86691ca9c9e2d7f83653a189b..c3d4500aaebbb0b8f0c2d6abdb4f4179bfad3cf0 100644 (file)
@@ -475,6 +475,9 @@ impl Bolt12Invoice {
        ///
        /// Blinded paths provide recipient privacy by obfuscating its node id. Note, however, that this
        /// privacy is lost if a public node id is used for [`Bolt12Invoice::signing_pubkey`].
+       ///
+       /// This is not exported to bindings users as slices with non-reference types cannot be ABI
+       /// matched in another language.
        pub fn payment_paths(&self) -> &[(BlindedPayInfo, BlindedPath)] {
                &self.contents.fields().payment_paths[..]
        }