Skip to content

Commit 93b2dc8

Browse files
committed
f clarify? comment
1 parent 98ad5d3 commit 93b2dc8

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

lightning/src/ln/channel.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3181,9 +3181,8 @@ impl<Signer: WriteableEcdsaChannelSigner> Channel<Signer> {
31813181
mem::swap(outcome, &mut reason);
31823182
if let OutboundHTLCOutcome::Success(Some(preimage)) = reason {
31833183
// While failing to handle the `Success(None)` case here could result in
3184-
// forgetting some HTLC claims, it is only reachable if the HTLC was claimed on
3185-
// LDK 0.0.104 and prior versions, then upgrading to a modern LDK before the
3186-
// HTLC fully resolves.
3184+
// forgetting some HTLC claims, it is only reachable for HTLCs claimed on LDK
3185+
// 0.0.104 or before, then upgrading LDK before the HTLC is fully resolved.
31873186
claimed_htlcs.push((SentHTLCId::from_source(&htlc.source), preimage));
31883187
}
31893188
htlc.state = OutboundHTLCState::AwaitingRemoteRevokeToRemove(reason);

0 commit comments

Comments
 (0)