File tree 1 file changed +5
-4
lines changed
1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -491,10 +491,10 @@ pub enum Event {
491
491
/// [`ChannelManager::claim_funds`] with the preimage given in [`PaymentPurpose`].
492
492
///
493
493
/// Note that if the preimage is not known, you should call
494
- /// [`ChannelManager::fail_htlc_backwards`] to free up resources for this HTLC and avoid
495
- /// network congestion.
496
- /// If you fail to call either [`ChannelManager::claim_funds`] or
497
- /// [`ChannelManager::fail_htlc_backwards `] within the HTLC's timeout, the HTLC will be
494
+ /// [`ChannelManager::fail_htlc_backwards`] or [`ChannelManager::fail_htlc_backwards_with_reason`]
495
+ /// to free up resources for this HTLC and avoid network congestion.
496
+ /// If you fail to call either [`ChannelManager::claim_funds`],[`ChannelManager::fail_htlc_backwards`],
497
+ /// or [`ChannelManager::fail_htlc_backwards_with_reason `] within the HTLC's timeout, the HTLC will be
498
498
/// automatically failed.
499
499
///
500
500
/// # Note
@@ -506,6 +506,7 @@ pub enum Event {
506
506
///
507
507
/// [`ChannelManager::claim_funds`]: crate::ln::channelmanager::ChannelManager::claim_funds
508
508
/// [`ChannelManager::fail_htlc_backwards`]: crate::ln::channelmanager::ChannelManager::fail_htlc_backwards
509
+ /// [`ChannelManager::fail_htlc_backwards_with_reason`]: crate::ln::channelmanager::ChannelManager::fail_htlc_backwards_with_reason
509
510
PaymentClaimable {
510
511
/// The node that will receive the payment after it has been claimed.
511
512
/// This is useful to identify payments received via [phantom nodes].
You can’t perform that action at this time.
0 commit comments