Skip to content

Commit 6ee8d81

Browse files
authored
Merge pull request #3009 from tnull/2024-04-fix-sweeper-typo
Fix typo in `OutputSweeper`
2 parents 800f750 + 9ac9d8e commit 6ee8d81

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lightning/src/util/sweep.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ where
390390
/// Usually, this should be called based on the values emitted by the
391391
/// [`Event::SpendableOutputs`].
392392
///
393-
/// The given `exclude_static_ouputs` flag controls whether the sweeper will filter out
393+
/// The given `exclude_static_outputs` flag controls whether the sweeper will filter out
394394
/// [`SpendableOutputDescriptor::StaticOutput`]s, which may be handled directly by the on-chain
395395
/// wallet implementation.
396396
///
@@ -400,12 +400,12 @@ where
400400
/// [`Event::SpendableOutputs`]: crate::events::Event::SpendableOutputs
401401
pub fn track_spendable_outputs(
402402
&self, output_descriptors: Vec<SpendableOutputDescriptor>, channel_id: Option<ChannelId>,
403-
exclude_static_ouputs: bool, delay_until_height: Option<u32>,
403+
exclude_static_outputs: bool, delay_until_height: Option<u32>,
404404
) {
405405
let mut relevant_descriptors = output_descriptors
406406
.into_iter()
407407
.filter(|desc| {
408-
!(exclude_static_ouputs
408+
!(exclude_static_outputs
409409
&& matches!(desc, SpendableOutputDescriptor::StaticOutput { .. }))
410410
})
411411
.peekable();

0 commit comments

Comments
 (0)