@@ -4364,7 +4364,6 @@ where
43644364 .collect()
43654365 }
43664366
4367- #[rustfmt::skip]
43684367 fn close_channel_internal(&self, chan_id: &ChannelId, counterparty_node_id: &PublicKey, target_feerate_sats_per_1000_weight: Option<u32>, override_shutdown_script: Option<ShutdownScript>) -> Result<(), APIError> {
43694368 let _persistence_guard = PersistenceNotifierGuard::notify_on_drop(self);
43704369
@@ -4558,7 +4557,6 @@ where
45584557 /// channel-closing action,
45594558 /// (b) [`ChannelManager::handle_error`] needs to be called without holding any locks (except
45604559 /// [`ChannelManager::total_consistency_lock`]), which then calls this.
4561- #[rustfmt::skip]
45624560 fn finish_close_channel(&self, mut shutdown_res: ShutdownResult) {
45634561 debug_assert_ne!(self.per_peer_state.held_by_thread(), LockHeldState::HeldByThread);
45644562 #[cfg(debug_assertions)]
@@ -4668,7 +4666,6 @@ where
46684666
46694667 /// `peer_msg` should be set when we receive a message from a peer, but not set when the
46704668 /// user closes, which will be re-exposed as the `ChannelClosed` reason.
4671- #[rustfmt::skip]
46724669 fn force_close_channel_with_peer(&self, channel_id: &ChannelId, peer_node_id: &PublicKey, reason: ClosureReason)
46734670 -> Result<(), APIError> {
46744671 let per_peer_state = self.per_peer_state.read().unwrap();
@@ -6354,7 +6351,6 @@ where
63546351 self.batch_funding_transaction_generated_intern(temporary_channels, funding_type)
63556352 }
63566353
6357- #[rustfmt::skip]
63586354 fn batch_funding_transaction_generated_intern(&self, temporary_channels: &[(&ChannelId, &PublicKey)], funding: FundingType) -> Result<(), APIError> {
63596355 let mut result = Ok(());
63606356 if let FundingType::Checked(funding_transaction) |
@@ -10490,7 +10486,6 @@ This indicates a bug inside LDK. Please report this error at https://github.com/
1049010486 Ok(())
1049110487 }
1049210488
10493- #[rustfmt::skip]
1049410489 fn internal_funding_created(&self, counterparty_node_id: &PublicKey, msg: &msgs::FundingCreated) -> Result<(), MsgHandleErrInternal> {
1049510490 let best_block = *self.best_block.read().unwrap();
1049610491
@@ -12443,7 +12438,6 @@ This indicates a bug inside LDK. Please report this error at https://github.com/
1244312438 /// attempted in every channel, or in the specifically provided channel.
1244412439 ///
1244512440 /// [`ChannelSigner`]: crate::sign::ChannelSigner
12446- #[rustfmt::skip]
1244712441 pub fn signer_unblocked(&self, channel_opt: Option<(PublicKey, ChannelId)>) {
1244812442 let _persistence_guard = PersistenceNotifierGuard::notify_on_drop(self);
1244912443
@@ -12588,7 +12582,6 @@ This indicates a bug inside LDK. Please report this error at https://github.com/
1258812582 /// Check whether any channels have finished removing all pending updates after a shutdown
1258912583 /// exchange and can now send a closing_signed.
1259012584 /// Returns whether any closing_signed messages were generated.
12591- #[rustfmt::skip]
1259212585 fn maybe_generate_initial_closing_signed(&self) -> bool {
1259312586 let mut handle_errors: Vec<(PublicKey, Result<(), _>)> = Vec::new();
1259412587 let mut has_update = false;
@@ -14580,7 +14573,6 @@ where
1458014573 /// Calls a function which handles an on-chain event (blocks dis/connected, transactions
1458114574 /// un/confirmed, etc) on each channel, handling any resulting errors or messages generated by
1458214575 /// the function.
14583- #[rustfmt::skip]
1458414576 fn do_chain_event<FN: Fn(&mut FundedChannel<SP>) -> Result<(Option<FundingConfirmedMessage>, Vec<(HTLCSource, PaymentHash)>, Option<msgs::AnnouncementSignatures>), ClosureReason>>
1458514577 (&self, height_opt: Option<u32>, f: FN) {
1458614578 // Note that we MUST NOT end up calling methods on self.chain_monitor here - we're called
0 commit comments