Skip to content

Commit d0e12c1

Browse files
committed
f reword how we describe the payment id construciton
1 parent b1041e3 commit d0e12c1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lightning/src/events/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -748,7 +748,7 @@ pub enum Event {
748748
///
749749
/// [`ChannelManager::claim_funds`]: crate::ln::channelmanager::ChannelManager::claim_funds
750750
claim_deadline: Option<u32>,
751-
/// A unique, random, ID describing this payment.
751+
/// A unique ID describing this payment (derived from the list of HTLCs in the payment).
752752
///
753753
/// Payers may pay for the same [`PaymentHash`] multiple times (though this is unsafe and
754754
/// an intermediary node may steal the funds). Thus, in order to accurately track when
@@ -803,7 +803,7 @@ pub enum Event {
803803
///
804804
/// Payments received on LDK versions prior to 0.0.124 will have this field unset.
805805
onion_fields: Option<RecipientOnionFields>,
806-
/// A unique, random, ID describing this payment.
806+
/// A unique ID describing this payment (derived from the list of HTLCs in the payment).
807807
///
808808
/// Payers may pay for the same [`PaymentHash`] multiple times (though this is unsafe and
809809
/// an intermediary node may steal the funds). Thus, in order to accurately track when

0 commit comments

Comments
 (0)