]> git.bitcoin.ninja Git - rust-lightning/commitdiff
Fix indentation in ChannelMonitor
authorMatt Corallo <git@bluematt.me>
Wed, 25 Aug 2021 19:36:43 +0000 (19:36 +0000)
committerMatt Corallo <git@bluematt.me>
Wed, 15 Sep 2021 18:07:34 +0000 (18:07 +0000)
lightning/src/chain/channelmonitor.rs

index 1b5a56d59e1e836f78f9920a5748308179b4a378..b2ed3d99de7f39e26c590cecf5e75401d84f2921 100644 (file)
@@ -2460,7 +2460,7 @@ impl<Signer: Sign> ChannelMonitorImpl<Signer> {
                                                                // resolve the source HTLC with the original sender.
                                                                payment_data = Some(((*source).clone(), htlc_output.payment_hash, htlc_output.amount_msat));
                                                        } else if !$holder_tx {
-                                                                       check_htlc_valid_counterparty!(self.current_counterparty_commitment_txid, htlc_output);
+                                                               check_htlc_valid_counterparty!(self.current_counterparty_commitment_txid, htlc_output);
                                                                if payment_data.is_none() {
                                                                        check_htlc_valid_counterparty!(self.prev_counterparty_commitment_txid, htlc_output);
                                                                }