Skip to content

Commit 7124215

Browse files
committed
f - Update LSPS2BOLT12Router docs to reflect combined path behavior
Co-Authored-By: HAL 9000
1 parent 718988d commit 7124215

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

lightning-liquidity/src/lsps2/router.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,10 @@ pub struct LSPS2Bolt12InvoiceParameters {
4545
/// A router wrapper that injects LSPS2-specific BOLT12 blinded paths for registered intercept
4646
/// SCIDs while delegating all other blinded path creation behaviors to the inner routers.
4747
///
48-
/// For **payment** blinded paths (in invoices), it returns the intercept SCID as the forwarding
49-
/// hop so that the LSP can intercept the HTLC and open a JIT channel.
48+
/// For **payment** blinded paths (in invoices), it appends paths using the intercept SCID as the
49+
/// forwarding hop so that the LSP can intercept the HTLC and open a JIT channel. Paths from the
50+
/// inner router (e.g., through pre-existing channels) are included as well, allowing payers to
51+
/// use existing inbound liquidity when available.
5052
///
5153
/// For **message** blinded paths (in offers), it injects the intercept SCID as the
5254
/// [`MessageForwardNode::short_channel_id`] so that [`Event::HTLCIntercepted`] is emitted when the

0 commit comments

Comments
 (0)