Skip to content

Commit ae9e5d3

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 61308c4 commit ae9e5d3

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
@@ -11185,12 +11185,6 @@ where
1118511185
/// to construct a [`BlindedMessagePath`] for the reply path. For further privacy implications, see the
1118611186
/// docs of the parameterized [`Router`], which implements [`MessageRouter`].
1118711187
///
11188-
/// # Limitations
11189-
///
11190-
/// Requires a direct connection to an introduction node in [`Offer::paths`] or to
11191-
/// [`Offer::issuer_signing_pubkey`], if empty. A similar restriction applies to the responding
11192-
/// [`Bolt12Invoice::payment_paths`].
11193-
///
1119411188
/// # Errors
1119511189
///
1119611190
/// Errors if:
@@ -11405,12 +11399,6 @@ where
1140511399
/// to construct a [`BlindedMessagePath`] for the reply path. For further privacy implications, see the
1140611400
/// docs of the parameterized [`Router`], which implements [`MessageRouter`].
1140711401
///
11408-
/// # Limitations
11409-
///
11410-
/// Requires a direct connection to the given [`Destination`] as well as an introduction node in
11411-
/// [`Offer::paths`] or to [`Offer::issuer_signing_pubkey`], if empty. A similar restriction applies to
11412-
/// the responding [`Bolt12Invoice::payment_paths`].
11413-
///
1141411402
/// # Errors
1141511403
///
1141611404
/// Errors if a duplicate `payment_id` is provided given the caveats in the aforementioned link.

0 commit comments

Comments
 (0)