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