File tree 1 file changed +2
-7
lines changed
1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -64,13 +64,8 @@ pub(crate) enum PendingOutboundPayment {
64
64
payment_hash : Option < PaymentHash > ,
65
65
timer_ticks_without_htlcs : u8 ,
66
66
} ,
67
- /// When a payer gives up trying to retry a payment, they inform us, letting us generate a
68
- /// `PaymentFailed` event when all HTLCs have irrevocably failed. This avoids a number of race
69
- /// conditions in MPP-aware payment retriers (1), where the possibility of multiple
70
- /// `PaymentPathFailed` events with `all_paths_failed` can be pending at once, confusing a
71
- /// downstream event handler as to when a payment has actually failed.
72
- ///
73
- /// (1) <https://github.com/lightningdevkit/rust-lightning/issues/1164>
67
+ /// When we've decided to give up retrying a payment, we mark it as abandoned so we can eventually
68
+ /// generate a `PaymentFailed` event when all HTLCs have irrevocably failed.
74
69
Abandoned {
75
70
session_privs : HashSet < [ u8 ; 32 ] > ,
76
71
payment_hash : PaymentHash ,
You can’t perform that action at this time.
0 commit comments