Merge pull request #496 from TheBlueMatt/2020-02-461-extra-mut

Remove unnecessary mut introduced in 0c595a7ff6
This commit is contained in:
Matt Corallo 2020-02-12 18:53:36 +00:00 committed by GitHub
commit 2514530a53
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View 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,