Skip to content

Commit 9eb2a02

Browse files
committed
f add clarification sentence
1 parent eaef238 commit 9eb2a02

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lightning/src/util/events.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,9 @@ pub enum Event {
216216
///
217217
/// # Note
218218
/// LDK will not stop an inbound payment from being paid multiple times, so multiple
219-
/// `PaymentReceived` events may be generated for the same payment.
219+
/// `PaymentReceived` events may be generated for the same payment. If you then call
220+
/// [`ChannelManager::claim_funds`] twice for the same [`Event::PaymentReceived`] you may get
221+
/// multiple `PaymentClaimed` events.
220222
///
221223
/// [`ChannelManager::claim_funds`]: crate::ln::channelmanager::ChannelManager::claim_funds
222224
PaymentClaimed {

0 commit comments

Comments
 (0)