Skip to content

Commit 2406430

Browse files
committed
Fix RecentPaymentDetails docs
1 parent 14054d9 commit 2406430

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

lightning/src/ln/channelmanager.rs

+2-3
Original file line numberDiff line numberDiff line change
@@ -1131,9 +1131,8 @@ impl ChannelDetails {
11311131
}
11321132
}
11331133

1134-
/// Used by [`ChannelManager::list_pending_payments`] to express the status of payments that are
1135-
/// currently pending. These not only include payments that are currently inflight, but also those
1136-
/// that may have yet to find a successful path or have unresolved HTLCs.
1134+
/// Used by [`ChannelManager::list_recent_payments`] to express the status of recent payments.
1135+
/// These include payments that have yet to find a successful path, or have unresolved HTLCs.
11371136
#[derive(Debug, PartialEq)]
11381137
pub enum RecentPaymentDetails {
11391138
/// When a payment is still being sent and awaiting successful delivery.

0 commit comments

Comments
 (0)