Skip to content

Commit 31a90da

Browse files
committed
f Document duplicate manual claims
Clarify that claiming duplicate PaymentClaimable events accepts each payment, so unexpected duplicate or late payments should be failed. Co-Authored-By: HAL 9000
1 parent 6cc849f commit 31a90da

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/event.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,9 @@ pub enum Event {
208208
/// holder of a valid invoice generated by this node tie up inbound HTLC slots and grow the
209209
/// persisted event queue until the payment is claimed, failed, or times out.
210210
///
211+
/// If the same payment hash is paid more than once, claiming each event accepts each
212+
/// payment. Unexpected duplicate or late payments should be failed back.
213+
///
211214
/// Any `_for_hash` invoices created with LDK Node v0.7 or prior can still emit this event
212215
/// after upgrade and must be claimed or failed back regardless of the config setting.
213216
///

0 commit comments

Comments
 (0)