Skip to content

Commit c98c355

Browse files
committed
f - mention in docs that node must be announced
1 parent c789fd0 commit c98c355

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

lightning/src/ln/channelmanager.rs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6826,7 +6826,9 @@ where
68266826
/// [`ChannelManager`] when handling [`InvoiceRequest`] messages for the offer.
68276827
///
68286828
/// Uses a one-hop [`BlindedPath`] for the offer with [`ChannelManager::get_our_node_id`] as the
6829-
/// introduction node and a derived signing pubkey for recipient privacy.
6829+
/// introduction node and a derived signing pubkey for recipient privacy. As such, currently,
6830+
/// the node must be announced. Otherwise, there is no way to find a path to the introduction
6831+
/// node in order to send the [`InvoiceRequest`].
68306832
///
68316833
/// [`Offer`]: crate::offers::offer::Offer
68326834
/// [`InvoiceRequest`]: crate::offers::invoice_request::InvoiceRequest
@@ -6849,7 +6851,9 @@ where
68496851
/// The provided `payment_id` is used to ensure that only one invoice is paid for the refund.
68506852
///
68516853
/// Uses a one-hop [`BlindedPath`] for the refund with [`ChannelManager::get_our_node_id`] as
6852-
/// the introduction node and a derived payer id for sender privacy.
6854+
/// the introduction node and a derived payer id for sender privacy. As such, currently, the
6855+
/// node must be announced. Otherwise, there is no way to find a path to the introduction node
6856+
/// in order to send the [`Bolt12Invoice`].
68536857
///
68546858
/// [`Refund`]: crate::offers::refund::Refund
68556859
/// [`Bolt12Invoice`]: crate::offers::invoice::Bolt12Invoice

0 commit comments

Comments
 (0)