Merge pull request #496 from TheBlueMatt/2020-02-461-extra-mut
[rust-lightning] / lightning / src / ln / channelmonitor.rs
index 7d843506e10d4810726bdc3ec20f415d006275cd..a1577712fdd8e2196529535fa912c3432c46aebd 100644 (file)
@@ -1832,7 +1832,7 @@ impl<ChanSigner: ChannelKeys> ChannelMonitor<ChanSigner> {
                                                        }
                                                        if let Some(payment_preimage) = self.payment_preimages.get(&htlc.payment_hash) {
                                                                if htlc.offered {
-                                                                       let mut input = TxIn {
+                                                                       let input = TxIn {
                                                                                previous_output: BitcoinOutPoint {
                                                                                        txid: commitment_txid,
                                                                                        vout: transaction_output_index,