Skip to content

Commit f67795f

Browse files
committed
f - docs: fail handling contents
1 parent 5d58b12 commit f67795f

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
@@ -359,8 +359,8 @@ pub enum Event {
359359
///
360360
/// If [`Event::PaymentClaimable::onion_fields`] is `Some`, and includes custom TLVs with even type
361361
/// numbers, you should use [`ChannelManager::fail_htlc_backwards_with_reason`] with
362-
/// [`FailureCode::InvalidOnionPayload`] if you fail to decode these TLVs, or
363-
/// [`ChannelManager::claim_funds_with_known_custom_tlvs`] if you successfully decode them.
362+
/// [`FailureCode::InvalidOnionPayload`] if you fail to understand and handle the contents, or
363+
/// [`ChannelManager::claim_funds_with_known_custom_tlvs`] upon successful handling.
364364
/// If you don't intend to check for custom TLVs, you can simply use
365365
/// [`ChannelManager::claim_funds`], which will automatically fail back even custom TLVs.
366366
///

0 commit comments

Comments
 (0)