We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 893ce7d commit dc9684fCopy full SHA for dc9684f
lightning/src/offers/offer.rs
@@ -149,7 +149,8 @@ impl OfferBuilder {
149
150
/// Sets a blinded path for the offer.
151
///
152
- /// Successive calls to this method will add another blinded path.
+ /// Successive calls to this method will add another blinded path. Caller is responsible for not
153
+ /// adding duplicate paths.
154
pub fn path(mut self, path: BlindedPath) -> Self {
155
self.offer.paths.get_or_insert_with(Vec::new).push(path);
156
self
0 commit comments