From: Matt Corallo Date: Wed, 12 Feb 2020 18:00:43 +0000 (-0500) Subject: Remove unnecessary mut introduced in 0c595a7ff69bd177b2e7fa8c1b361 X-Git-Tag: v0.0.12~136^2 X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=refs%2Fheads%2F2020-02-461-extra-mut;p=rust-lightning Remove unnecessary mut introduced in 0c595a7ff69bd177b2e7fa8c1b361 --- diff --git a/lightning/src/ln/channelmonitor.rs b/lightning/src/ln/channelmonitor.rs index 7d843506e..a1577712f 100644 --- a/lightning/src/ln/channelmonitor.rs +++ b/lightning/src/ln/channelmonitor.rs @@ -1832,7 +1832,7 @@ impl ChannelMonitor { } 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,