Skip to content

Commit a257c8e

Browse files
fixup: make lint happy
1 parent e0161b2 commit a257c8e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lightning/src/chain/channelmonitor.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5504,7 +5504,7 @@ impl<Signer: EcdsaChannelSigner> ChannelMonitorImpl<Signer> {
55045504
// manual-broadcast mode.
55055505
let (mut claimables, mut outputs) =
55065506
self.generate_claimable_outpoints_and_watch_outputs(None);
5507-
if !(self.is_manual_broadcast && !self.funding_seen_onchain) {
5507+
if !self.is_manual_broadcast || self.funding_seen_onchain {
55085508
claimable_outpoints.append(&mut claimables);
55095509
watch_outputs.append(&mut outputs);
55105510
}
@@ -5546,7 +5546,7 @@ impl<Signer: EcdsaChannelSigner> ChannelMonitorImpl<Signer> {
55465546
let reason = ClosureReason::HTLCsTimedOut { payment_hash: Some(payment_hash) };
55475547
let (mut new_outpoints, mut new_outputs) =
55485548
self.generate_claimable_outpoints_and_watch_outputs(Some(reason));
5549-
if !(self.is_manual_broadcast && !self.funding_seen_onchain) {
5549+
if !self.is_manual_broadcast || self.funding_seen_onchain {
55505550
claimable_outpoints.append(&mut new_outpoints);
55515551
watch_outputs.append(&mut new_outputs);
55525552
}

0 commit comments

Comments
 (0)