@@ -234,11 +234,11 @@ pub enum Event {
234
234
/// [`all_paths_failed`]: Self::all_paths_failed
235
235
PaymentPathFailed {
236
236
/// The id returned by [`ChannelManager::send_payment`] and used with
237
- /// [`ChannelManager::retry_payment`] and [`ChannelManager::no_further_payment_retries `].
237
+ /// [`ChannelManager::retry_payment`] and [`ChannelManager::abandon_payment `].
238
238
///
239
239
/// [`ChannelManager::send_payment`]: crate::ln::channelmanager::ChannelManager::send_payment
240
240
/// [`ChannelManager::retry_payment`]: crate::ln::channelmanager::ChannelManager::retry_payment
241
- /// [`ChannelManager::no_further_payment_retries `]: crate::ln::channelmanager::ChannelManager::no_further_payment_retries
241
+ /// [`ChannelManager::abandon_payment `]: crate::ln::channelmanager::ChannelManager::abandon_payment
242
242
payment_id : Option < PaymentId > ,
243
243
/// The hash that was given to [`ChannelManager::send_payment`].
244
244
///
@@ -269,12 +269,11 @@ pub enum Event {
269
269
/// has an associated in-flight HTLC. See (1) for an example of such a failure.
270
270
///
271
271
/// If you wish to retry individual MPP parts and learn when a payment has failed, you must
272
- /// call [`ChannelManager::no_further_payment_retries`] and wait for a [`Event::PaymentFailed`]
273
- /// event.
272
+ /// call [`ChannelManager::abandon_payment`] and wait for a [`Event::PaymentFailed`] event.
274
273
///
275
274
/// (1) <https://github.com/lightningdevkit/rust-lightning/issues/1164>
276
275
///
277
- /// [`ChannelManager::no_further_payment_retries `]: crate::ln::channelmanager::ChannelManager::no_further_payment_retries
276
+ /// [`ChannelManager::abandon_payment `]: crate::ln::channelmanager::ChannelManager::abandon_payment
278
277
all_paths_failed : bool ,
279
278
/// The payment path that failed.
280
279
path : Vec < RouteHop > ,
@@ -300,17 +299,16 @@ pub enum Event {
300
299
///
301
300
/// This event is provided once there are no further pending HTLCs for the payment and the
302
301
/// payment is no longer retryable, either due to a several-block timeout or because
303
- /// [`ChannelManager::no_further_payment_retries`] was previously called for the corresponding
304
- /// payment.
302
+ /// [`ChannelManager::abandon_payment`] was previously called for the corresponding payment.
305
303
///
306
- /// [`ChannelManager::no_further_payment_retries `]: crate::ln::channelmanager::ChannelManager::no_further_payment_retries
304
+ /// [`ChannelManager::abandon_payment `]: crate::ln::channelmanager::ChannelManager::abandon_payment
307
305
PaymentFailed {
308
306
/// The id returned by [`ChannelManager::send_payment`] and used with
309
- /// [`ChannelManager::retry_payment`] and [`ChannelManager::no_further_payment_retries `].
307
+ /// [`ChannelManager::retry_payment`] and [`ChannelManager::abandon_payment `].
310
308
///
311
309
/// [`ChannelManager::send_payment`]: crate::ln::channelmanager::ChannelManager::send_payment
312
310
/// [`ChannelManager::retry_payment`]: crate::ln::channelmanager::ChannelManager::retry_payment
313
- /// [`ChannelManager::no_further_payment_retries `]: crate::ln::channelmanager::ChannelManager::no_further_payment_retries
311
+ /// [`ChannelManager::abandon_payment `]: crate::ln::channelmanager::ChannelManager::abandon_payment
314
312
payment_id : PaymentId ,
315
313
/// The hash that was given to [`ChannelManager::send_payment`].
316
314
///
0 commit comments