Skip to content

Commit c9b1c50

Browse files
committed
f style
1 parent 5c31e55 commit c9b1c50

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

lightning/src/chain/channelmonitor.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -364,11 +364,7 @@ impl OnchainEventEntry {
364364
// it's broadcastable when we see the previous block.
365365
conf_threshold = cmp::max(conf_threshold, self.height + descriptor.to_self_delay as u32 - 1);
366366
},
367-
OnchainEvent::FundingSpendConfirmation { on_local_output_csv: Some(csv), .. } => {
368-
// A CSV'd transaction is confirmable in block (input height) + CSV delay, which means
369-
// it's broadcastable when we see the previous block.
370-
conf_threshold = cmp::max(conf_threshold, self.height + csv as u32 - 1);
371-
},
367+
OnchainEvent::FundingSpendConfirmation { on_local_output_csv: Some(csv), .. }|
372368
OnchainEvent::HTLCSpendConfirmation { on_to_local_output_csv: Some(csv), .. } => {
373369
// A CSV'd transaction is confirmable in block (input height) + CSV delay, which means
374370
// it's broadcastable when we see the previous block.

0 commit comments

Comments
 (0)