Skip to content

Commit 285b363

Browse files
committed
Simplify list_pending_payments comments
1 parent 3554ff4 commit 285b363

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

lightning/src/ln/channelmanager.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1702,9 +1702,8 @@ where
17021702
/// Gets a list of payments in random order that are currently pending resolution.
17031703
///
17041704
/// This can be useful for figuring out whether or not a payment made needs to be retried.
1705-
/// In general, if it is not listed here, you should consider retrying it with a caveat: if a
1706-
/// payment is returned as [`RecentPaymentDetails::Fulfilled`], you may retry it, but should
1707-
/// not.
1705+
/// In general, if it is not listed here, you should consider retrying it if not
1706+
/// [`RecentPaymentDetails::Fulfilled`].
17081707
pub fn list_pending_payments(&self) -> Vec<RecentPaymentDetails> {
17091708
self.pending_outbound_payments.pending_outbound_payments.lock().unwrap().iter()
17101709
.filter_map(|(_, pending_outbound_payment)| match pending_outbound_payment {

0 commit comments

Comments
 (0)