Skip to content

Commit 668a46e

Browse files
committed
f lol docs wrong
1 parent 0e21ae5 commit 668a46e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lightning/src/util/events.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -157,16 +157,16 @@ pub enum Event {
157157
///
158158
/// Note that if we force-closed the channel over which we forwarded an HTLC while the HTLC
159159
/// was pending, the amount the next hop claimed may have been rounded down, causing a
160-
/// higher fee than expected.
160+
/// higher fee than expected. In this case, `claim_from_onchain_tx` will be set.
161161
///
162162
/// If the channel which sent us the payment has been force-closed, we will claim the funds
163163
/// via an on-chain transaction. In that case we do not consider the on-chain transaction
164164
/// fees involved in such a claim and this value will be `None`. It is possible duplicate
165165
/// `PaymentForwarded` events are generated for the same payment iff `fee_earned_msat` is
166166
/// `None`.
167167
fee_earned_msat: Option<u64>,
168-
/// If this is `true`, the forwarded HTLC will be claimed on-chain after the channel on
169-
/// which we received the HTLC was force-closed.
168+
/// If this is `true`, the forwarded HTLC was claimed by our counterparty via an on-chain
169+
/// transaction.
170170
claim_from_onchain_tx: bool,
171171
},
172172
}

0 commit comments

Comments
 (0)