Skip to content

Commit addd8bd

Browse files
committed
f - mention ChannelManager::abandon_payment in InvoiceRequestFailed docs
1 parent 0926690 commit addd8bd

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

lightning/src/events/mod.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -508,7 +508,10 @@ pub enum Event {
508508
/// serialized prior to LDK version 0.0.117.
509509
sender_intended_total_msat: Option<u64>,
510510
},
511-
/// Indicates a request for invoice failed to yield a response in a reasonable amount of time.
511+
/// Indicates a request for an invoice failed to yield a response in a reasonable amount of time
512+
/// or was explicitly abandoned by [`ChannelManager::abandon_payment`].
513+
///
514+
/// [`ChannelManager::abandon_payment`]: crate::ln::channelmanager::ChannelManager::abandon_payment
512515
InvoiceRequestFailed {
513516
/// The `payment_id` to have been associated with payment for the requested invoice.
514517
payment_id: PaymentId,

0 commit comments

Comments
 (0)