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 @@ -64,13 +64,8 @@ pub(crate) enum PendingOutboundPayment {
6464 payment_hash : Option < PaymentHash > ,
6565 timer_ticks_without_htlcs : u8 ,
6666 } ,
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.
7469 Abandoned {
7570 session_privs : HashSet < [ u8 ; 32 ] > ,
7671 payment_hash : PaymentHash ,
You can’t perform that action at this time.
0 commit comments