Skip to content

Commit fb9626f

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 4c4f167 commit fb9626f

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
@@ -11196,12 +11196,6 @@ where
1119611196
/// to construct a [`BlindedMessagePath`] for the reply path. For further privacy implications, see the
1119711197
/// docs of the parameterized [`Router`], which implements [`MessageRouter`].
1119811198
///
11199-
/// # Limitations
11200-
///
11201-
/// Requires a direct connection to an introduction node in [`Offer::paths`] or to
11202-
/// [`Offer::issuer_signing_pubkey`], if empty. A similar restriction applies to the responding
11203-
/// [`Bolt12Invoice::payment_paths`].
11204-
///
1120511199
/// # Errors
1120611200
///
1120711201
/// Errors if:
@@ -11370,12 +11364,6 @@ where
1137011364
/// to construct a [`BlindedMessagePath`] for the reply path. For further privacy implications, see the
1137111365
/// docs of the parameterized [`Router`], which implements [`MessageRouter`].
1137211366
///
11373-
/// # Limitations
11374-
///
11375-
/// Requires a direct connection to the given [`Destination`] as well as an introduction node in
11376-
/// [`Offer::paths`] or to [`Offer::issuer_signing_pubkey`], if empty. A similar restriction applies to
11377-
/// the responding [`Bolt12Invoice::payment_paths`].
11378-
///
1137911367
/// # Errors
1138011368
///
1138111369
/// Errors if:

0 commit comments

Comments
 (0)