Skip to content

Commit 52a31d8

Browse files
f PaymentReceived docs
1 parent 273ecc4 commit 52a31d8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lightning/src/util/events.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,9 @@ pub enum Event {
180180
/// [`ChannelManager::fail_htlc_backwards`] within the HTLC's timeout, the HTLC will be
181181
/// automatically failed.
182182
///
183+
/// # Note
184+
/// In rare cases, multiple `PaymentReceived` events may be generated for the same payment.
185+
///
183186
/// [`ChannelManager::claim_funds`]: crate::ln::channelmanager::ChannelManager::claim_funds
184187
/// [`ChannelManager::fail_htlc_backwards`]: crate::ln::channelmanager::ChannelManager::fail_htlc_backwards
185188
PaymentReceived {

0 commit comments

Comments
 (0)