Skip to content

Commit 681f898

Browse files
committed
Add privacy section to pay_for_offer docs
1 parent 3fd9fc6 commit 681f898

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

lightning/src/ln/channelmanager.rs

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7361,7 +7361,7 @@ where
73617361
/// # Privacy
73627362
///
73637363
/// Uses a one-hop [`BlindedPath`] for the refund with [`ChannelManager::get_our_node_id`] as
7364-
/// the introduction node and a derived payer id for sender privacy. As such, currently, the
7364+
/// the introduction node and a derived payer id for payer privacy. As such, currently, the
73657365
/// node must be announced. Otherwise, there is no way to find a path to the introduction node
73667366
/// in order to send the [`Bolt12Invoice`].
73677367
///
@@ -7421,6 +7421,13 @@ where
74217421
/// invoice. If abandoned, or an invoice isn't received in a reasonable amount of time, the
74227422
/// payment will fail with an [`Event::InvoiceRequestFailed`].
74237423
///
7424+
/// # Privacy
7425+
///
7426+
/// Uses a one-hop [`BlindedPath`] for the reply path with [`ChannelManager::get_our_node_id`]
7427+
/// as the introduction node and a derived payer id for payer privacy. As such, currently, the
7428+
/// node must be announced. Otherwise, there is no way to find a path to the introduction node
7429+
/// in order to send the [`Bolt12Invoice`].
7430+
///
74247431
/// # Errors
74257432
///
74267433
/// Errors if a duplicate `payment_id` is provided given the caveats in the aforementioned link

0 commit comments

Comments
 (0)