Skip to content

Commit 69412ad

Browse files
committed
f - mention in docs that node must be announced
1 parent 0bf3c8c commit 69412ad

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
@@ -7075,7 +7075,9 @@ where
70757075
/// [`ChannelManager`] when handling [`InvoiceRequest`] messages for the offer.
70767076
///
70777077
/// Uses a one-hop [`BlindedPath`] for the offer with [`ChannelManager::get_our_node_id`] as the
7078-
/// introduction node and a derived signing pubkey for recipient privacy.
7078+
/// introduction node and a derived signing pubkey for recipient privacy. As such, currently,
7079+
/// the node must be announced. Otherwise, there is no way to find a path to the introduction
7080+
/// node in order to send the [`InvoiceRequest`].
70797081
///
70807082
/// [`Offer`]: crate::offers::offer::Offer
70817083
/// [`InvoiceRequest`]: crate::offers::invoice_request::InvoiceRequest
@@ -7098,7 +7100,9 @@ where
70987100
/// The provided `payment_id` is used to ensure that only one invoice is paid for the refund.
70997101
///
71007102
/// Uses a one-hop [`BlindedPath`] for the refund with [`ChannelManager::get_our_node_id`] as
7101-
/// the introduction node and a derived payer id for sender privacy.
7103+
/// the introduction node and a derived payer id for sender privacy. As such, currently, the
7104+
/// node must be announced. Otherwise, there is no way to find a path to the introduction node
7105+
/// in order to send the [`Bolt12Invoice`].
71027106
///
71037107
/// [`Refund`]: crate::offers::refund::Refund
71047108
/// [`Bolt12Invoice`]: crate::offers::invoice::Bolt12Invoice

0 commit comments

Comments
 (0)