Skip to content

Commit 8783894

Browse files
committed
f update docs on HTLCUpdate
1 parent 418ada9 commit 8783894

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lightning/src/chain/channelmonitor.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -388,9 +388,9 @@ impl OnchainEventEntry {
388388
/// once they mature to enough confirmations (ANTI_REORG_DELAY)
389389
#[derive(PartialEq)]
390390
enum OnchainEvent {
391-
/// HTLC output getting solved by a timeout, at maturation we pass upstream payment source information to solve
392-
/// inbound HTLC in backward channel. Note, in case of preimage, we pass info to upstream without delay as we can
393-
/// only win from it, so it's never an OnchainEvent
391+
/// HTLC output being spent by an HTLC-timeout or timeout-condition claim. If an HTLC is
392+
/// claimed with a preimage we pass the preimage upstream immediately, so it will only appear
393+
/// as an `HTLCSpendConfirmation`, below.
394394
HTLCUpdate {
395395
source: HTLCSource,
396396
payment_hash: PaymentHash,

0 commit comments

Comments
 (0)