We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 12bcc9a commit a6e9123Copy full SHA for a6e9123
lightning/src/ln/outbound_payment.rs
@@ -235,7 +235,10 @@ pub enum Retry {
235
/// were retried along a route from a single call to [`Router::find_route`].
236
Attempts(usize),
237
#[cfg(not(feature = "no-std"))]
238
- /// Time elapsed before abandoning retries for a payment.
+ /// Time elapsed before abandoning retries for a payment. At least one attempt at payment is made;
239
+ /// see [`PaymentParameters::expiry_time`] to avoid any attempt at payment after a specific time.
240
+ ///
241
+ /// [`PaymentParameters::expiry_time`]: crate::routing::router::PaymentParameters::expiry_time
242
Timeout(core::time::Duration),
243
}
244
0 commit comments