Skip to content

Commit 0edd645

Browse files
Link to LSP spec in accept_underpaying_htlcs config
1 parent 1926c82 commit 0edd645

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

lightning/src/util/config.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -462,8 +462,9 @@ pub struct ChannelConfig {
462462
/// - The counterparty will get an [`HTLCIntercepted`] event upon payment forward, and call
463463
/// [`forward_intercepted_htlc`] with less than the amount provided in
464464
/// [`HTLCIntercepted::expected_outbound_amount_msat`]. The difference between the expected and
465-
/// actual forward amounts is their fee.
466-
// TODO: link to LSP JIT channel invoice generation spec when it's merged
465+
/// actual forward amounts is their fee. See
466+
/// <https://github.com/BitcoinAndLightningLayerSpecs/lsp/tree/main/LSPS2#flow-lsp-trusts-client-model>
467+
/// for how this feature may be used in the LSP use case.
467468
///
468469
/// # Note
469470
/// It's important for payee wallet software to verify that [`PaymentClaimable::amount_msat`] is

0 commit comments

Comments
 (0)