Skip to content

Commit 6817957

Browse files
committed
f comment wrong
1 parent 1f06047 commit 6817957

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
@@ -1622,9 +1622,9 @@ impl<Signer: Sign> ChannelMonitor<Signer> {
16221622
} else {
16231623
walk_htlcs!(false, true, counterparty_tx_htlcs.iter().map(|(a, _)| a));
16241624
// The counterparty broadcasted a revoked state!
1625-
// Look for a StaticOutput spend first, as it should be spending the full set
1626-
// of commitment transaction outputs, if we see one, assume that it did and
1627-
// just return that.
1625+
// Look for any StaticOutputs first, generating claimable balances for those.
1626+
// If any match the confirmed counterparty revoked to_self output, skip
1627+
// generating a CounterpartyRevokedOutputClaimable.
16281628
let mut spent_counterparty_output = false;
16291629
for event in us.onchain_events_awaiting_threshold_conf.iter() {
16301630
if let OnchainEvent::MaturingOutput {

0 commit comments

Comments
 (0)