Skip to content

Commit

Permalink
f Indent
Browse files Browse the repository at this point in the history
  • Loading branch information
tnull committed Feb 1, 2023
1 parent 28af6c7 commit b7462fd
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions lightning/src/chain/channelmonitor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2339,12 +2339,12 @@ impl<Signer: WriteableEcdsaChannelSigner> ChannelMonitorImpl<Signer> {
}

pub fn detected_funding_spend(&self) -> bool {
self.funding_spend_confirmed.is_some() ||
self.onchain_events_awaiting_threshold_conf
.iter().find(|event| match event.event {
OnchainEvent::FundingSpendConfirmation { .. } => true,
_ => false,
}).is_some()
self.funding_spend_confirmed.is_some() ||
self.onchain_events_awaiting_threshold_conf
.iter().find(|event| match event.event {
OnchainEvent::FundingSpendConfirmation { .. } => true,
_ => false,
}).is_some()
}

pub fn get_outputs_to_watch(&self) -> &HashMap<Txid, Vec<(u32, Script)>> {
Expand Down

0 comments on commit b7462fd

Please sign in to comment.