Skip to content

Commit dc9684f

Browse files
committed
f - expand OfferBuilder::path docs
1 parent 893ce7d commit dc9684f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lightning/src/offers/offer.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,8 @@ impl OfferBuilder {
149149

150150
/// Sets a blinded path for the offer.
151151
///
152-
/// Successive calls to this method will add another blinded path.
152+
/// Successive calls to this method will add another blinded path. Caller is responsible for not
153+
/// adding duplicate paths.
153154
pub fn path(mut self, path: BlindedPath) -> Self {
154155
self.offer.paths.get_or_insert_with(Vec::new).push(path);
155156
self

0 commit comments

Comments
 (0)