Skip to content

Commit 00fc748

Browse files
committed
Add docs when RecentPaymentDetails::Fulfilled payment_hash in None
1 parent 9cb1d12 commit 00fc748

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lightning/src/ln/channelmanager.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1122,7 +1122,8 @@ pub enum RecentPaymentDetails {
11221122
/// been resolved. Upon receiving [`Event::PaymentSent`], we delay for a few minutes before the
11231123
/// payment is removed from tracking.
11241124
Fulfilled {
1125-
/// Hash of the payment that was claimed.
1125+
/// Hash of the payment that was claimed. Returns `None` for possibly older serializations
1126+
/// of [`ChannelManager`]
11261127
payment_hash: Option<PaymentHash>,
11271128
},
11281129
/// After a payment is explicitly abandoned by calling [`ChannelManager::abandon_payment`], it

0 commit comments

Comments
 (0)