Skip to content

Commit ad44de6

Browse files
committed
f queue fail comment
1 parent 988a8d1 commit ad44de6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lightning/src/ln/channel.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3231,9 +3231,9 @@ impl<Signer: Sign> Channel<Signer> {
32313231
match self.fail_htlc(htlc_id, err_packet.clone(), false, logger) {
32323232
Ok(update_fail_msg_option) => {
32333233
// If an HTLC failure was previously added to the holding cell (via
3234-
// `fail_htlc`) then generating the fail message itself must not
3235-
// fail - we should never end up in a state where we double-fail an
3236-
// HTLC or fail-then-claim an HTLC as it indicates we didn't wait
3234+
// `queue_fail_htlc`) then generating the fail message itself must
3235+
// not fail - we should never end up in a state where we double-fail
3236+
// an HTLC or fail-then-claim an HTLC as it indicates we didn't wait
32373237
// for a full revocation before failing.
32383238
update_fail_htlcs.push(update_fail_msg_option.unwrap())
32393239
},

0 commit comments

Comments
 (0)