Skip to content

Commit dd12251

Browse files
committed
Drop spurious limitations section on pay_for_offer
For some time we've automatically opened a connection to the blinded path introduction point when we need to send a message we generated. However, the "Limitations" section in `ChannelManager::pay_for_offer` lists having a direct connection as required for the payment to succeed, which is not true. Instead, we simply remove the section from both `pay_for_offer` and `pay_for_offer_from_human_readable_name`.
1 parent f65e78d commit dd12251

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

lightning/src/ln/channelmanager.rs

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -12303,12 +12303,6 @@ where
1230312303
/// For payer privacy, uses a derived payer id and uses [`MessageRouter::create_blinded_paths`]
1230412304
/// to construct a [`BlindedMessagePath`] for the reply path.
1230512305
///
12306-
/// # Limitations
12307-
///
12308-
/// Requires a direct connection to an introduction node in [`Offer::paths`] or to
12309-
/// [`Offer::issuer_signing_pubkey`], if empty. A similar restriction applies to the responding
12310-
/// [`Bolt12Invoice::payment_paths`].
12311-
///
1231212306
/// # Errors
1231312307
///
1231412308
/// Errors if:
@@ -12522,12 +12516,6 @@ where
1252212516
/// For payer privacy, uses a derived payer id and uses [`MessageRouter::create_blinded_paths`]
1252312517
/// to construct a [`BlindedMessagePath`] for the reply path.
1252412518
///
12525-
/// # Limitations
12526-
///
12527-
/// Requires a direct connection to the given [`Destination`] as well as an introduction node in
12528-
/// [`Offer::paths`] or to [`Offer::issuer_signing_pubkey`], if empty. A similar restriction applies to
12529-
/// the responding [`Bolt12Invoice::payment_paths`].
12530-
///
1253112519
/// # Errors
1253212520
///
1253312521
/// Errors if a duplicate `payment_id` is provided given the caveats in the aforementioned link.

0 commit comments

Comments
 (0)