Skip to content

Commit 070aae0

Browse files
committed
f - Update LSPS2BOLT12Router docs to reflect combined path behavior
Co-Authored-By: HAL 9000
1 parent f999b21 commit 070aae0

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

lightning-liquidity/src/lsps2/router.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,10 @@ pub struct LSPS2Bolt12InvoiceParameters {
4141
/// A router wrapper that injects LSPS2-specific BOLT12 blinded payment paths for registered
4242
/// intercept SCIDs while delegating all other blinded path creation behaviors to the inner router.
4343
///
44-
/// For **payment** blinded paths (in invoices), it returns the intercept SCID as the forwarding
45-
/// hop so that the LSP can intercept the HTLC and open a JIT channel.
44+
/// For **payment** blinded paths (in invoices), it appends paths using the intercept SCID as the
45+
/// forwarding hop so that the LSP can intercept the HTLC and open a JIT channel. Paths from the
46+
/// inner router (e.g., through pre-existing channels) are included as well, allowing payers to
47+
/// use existing inbound liquidity when available.
4648
///
4749
/// This wrapper does **not** modify blinded onion-message paths. Async static-invoice and LSPS5
4850
/// users should rely on their normal [`MessageRouter`] integration and any out-of-band SCID to

0 commit comments

Comments
 (0)