Skip to content

Commit 9d9b12f

Browse files
committed
f - Update stale docs
1 parent 95aed8a commit 9d9b12f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

lightning-invoice/src/payment.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@
1414
//! to send a payment over a [`Route`]. Implementations of [`Router`] find a [`Route`] between payer
1515
//! and payee using information provided by the payer and from the payee's [`Invoice`].
1616
//!
17-
//! [`InvoicePayer`] caches each [`Invoice`] by its `payment_hash` so that it can retry the payment
18-
//! if it fails. It accomplishes this by implementing [`EventHandler`] which decorates a
19-
//! user-provided handler. It will intercept any [`Event::PaymentPathFailed`] events and retry the
20-
//! failed paths for a fixed number of total attempts or until retry is no longer possible. In such
21-
//! a situation, [`InvoicePayer`] will pass along the events to the user-provided handler.
17+
//! [`InvoicePayer`] is capable of retrying failed payments. It accomplishes this by implementing
18+
//! [`EventHandler`] which decorates a user-provided handler. It will intercept any
19+
//! [`Event::PaymentPathFailed`] events and retry the failed paths for a fixed number of total
20+
//! attempts or until retry is no longer possible. In such a situation, [`InvoicePayer`] will pass
21+
//! along the events to the user-provided handler.
2222
//!
2323
//! # Example
2424
//!

0 commit comments

Comments
 (0)