Skip to content

Commit 5ef81f6

Browse files
committed
f correct event reference
1 parent 155e15e commit 5ef81f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lightning-invoice/src/payment.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1586,7 +1586,7 @@ mod tests {
15861586
// get two failures in a row with the second having `all_paths_failed` set.
15871587
// Generally, when we give up trying to retry a payment, we don't know for sure what the
15881588
// current state of the ChannelManager event queue is. Specifically, we cannot be sure that
1589-
// there are not multiple additional `PaymentPathFailed` or even `PaymentSuccess` events
1589+
// there are not multiple additional `PaymentPathFailed` or even `PaymentSent` events
15901590
// pending which we will see later. Thus, when we previously removed the retry tracking map
15911591
// entry after a `all_paths_failed` `PaymentPathFailed` event, we may have dropped the
15921592
// retry entry even though more events for the same payment were still pending. This led to

0 commit comments

Comments
 (0)