f - expand OfferBuilder::path docs
authorJeffrey Czyz <jkczyz@gmail.com>
Wed, 28 Sep 2022 20:32:25 +0000 (15:32 -0500)
committerJeffrey Czyz <jkczyz@gmail.com>
Wed, 28 Sep 2022 20:32:25 +0000 (15:32 -0500)
lightning/src/offers/offer.rs

index a5a0e6f5cd81478f68b4dcecfd5d0886fc2cc8df..b5efd6be5a80e42aedd293345c352cb42f99687c 100644 (file)
@@ -150,7 +150,8 @@ impl OfferBuilder {
                self
        }
 
-       /// Adds a blinded path to [`Offer::paths`].
+       /// Adds a blinded path to [`Offer::paths`]. Must include one path if only connected by private
+       /// channels.
        ///
        /// Successive calls to this method will add another blinded path. Caller is responsible for not
        /// adding duplicate paths.