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,