Skip to content

Commit 612f903

Browse files
committed
Add privacy section to pay_for_offer docs
1 parent 69f7736 commit 612f903

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
@@ -7206,7 +7206,7 @@ where
72067206
/// # Privacy
72077207
///
72087208
/// Uses a one-hop [`BlindedPath`] for the refund with [`ChannelManager::get_our_node_id`] as
7209-
/// the introduction node and a derived payer id for sender privacy. As such, currently, the
7209+
/// the introduction node and a derived payer id for payer privacy. As such, currently, the
72107210
/// node must be announced. Otherwise, there is no way to find a path to the introduction node
72117211
/// in order to send the [`Bolt12Invoice`].
72127212
///
@@ -7266,6 +7266,13 @@ where
72667266
/// invoice. If abandoned, or an invoice isn't received in a reasonable amount of time, the
72677267
/// payment will fail with an [`Event::InvoiceRequestFailed`].
72687268
///
7269+
/// # Privacy
7270+
///
7271+
/// Uses a one-hop [`BlindedPath`] for the reply path with [`ChannelManager::get_our_node_id`]
7272+
/// as the introduction node and a derived payer id for payer privacy. As such, currently, the
7273+
/// node must be announced. Otherwise, there is no way to find a path to the introduction node
7274+
/// in order to send the [`Bolt12Invoice`].
7275+
///
72697276
/// # Errors
72707277
///
72717278
/// Errors if a duplicate `payment_id` is provided given the caveats in the aforementioned link

0 commit comments

Comments
 (0)