]> git.bitcoin.ninja Git - rust-lightning/commitdiff
Drop spurious whitespace in channel.rs
authorMatt Corallo <git@bluematt.me>
Wed, 16 Feb 2022 21:12:22 +0000 (21:12 +0000)
committerMatt Corallo <git@bluematt.me>
Wed, 16 Feb 2022 21:12:22 +0000 (21:12 +0000)
lightning/src/ln/channel.rs

index fb9213142ae740e4b487786be3e50c7a9268807b..8e8254bdf9a84bb90de7dedfe84430ed94492d0b 100644 (file)
@@ -2174,11 +2174,11 @@ impl<Signer: Sign> Channel<Signer> {
 
        /// Returns transaction if there is pending funding transaction that is yet to broadcast
        pub fn unbroadcasted_funding(&self) -> Option<Transaction> {
-                if self.channel_state & (ChannelState::FundingCreated as u32) != 0 {
-                        self.funding_transaction.clone()
-                } else {
-                        None
-                }
+               if self.channel_state & (ChannelState::FundingCreated as u32) != 0 {
+                       self.funding_transaction.clone()
+               } else {
+                       None
+               }
        }
 
        /// Returns a HTLCStats about inbound pending htlcs