Skip to content

Commit 934a534

Browse files
committed
Update and clarify the reasons for HTLCDestination::FailedPayment
1 parent a41d75f commit 934a534

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

lightning/src/events/mod.rs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -232,8 +232,11 @@ pub enum HTLCDestination {
232232
///
233233
/// Some of the reasons may include:
234234
/// * HTLC Timeouts
235-
/// * Expected MPP amount has already been reached
236-
/// * Claimable amount does not match expected amount
235+
/// * Excess HTLCs for a payment that we have already fully received, over-paying for the
236+
/// payment,
237+
/// * The counterparty node modified the HTLC in transit,
238+
/// * A probing attack where an intermediary node is trying to detect if we are the ultimate
239+
/// recipient for a payment.
237240
FailedPayment {
238241
/// The payment hash of the payment we attempted to process.
239242
payment_hash: PaymentHash

0 commit comments

Comments
 (0)