]> git.bitcoin.ninja Git - rust-lightning/commitdiff
Drop needless mut 2019-11-broken-build
authorMatt Corallo <git@bluematt.me>
Fri, 15 Nov 2019 22:19:46 +0000 (17:19 -0500)
committerMatt Corallo <git@bluematt.me>
Fri, 15 Nov 2019 22:20:03 +0000 (17:20 -0500)
src/ln/channelmonitor.rs

index 9deb11073ffc31273d233277070f528c4eca478f..a31c5bc504d02d49e6c155adf885e4d2fa737c1b 100644 (file)
@@ -1740,7 +1740,7 @@ impl ChannelMonitor {
                                                output: outputs,
                                        };
 
-                                       let mut predicted_weight = spend_tx.get_weight() + Self::get_witnesses_weight(&inputs_desc[..]);
+                                       let predicted_weight = spend_tx.get_weight() + Self::get_witnesses_weight(&inputs_desc[..]);
 
                                        let mut used_feerate;
                                        if !subtract_high_prio_fee!(self, fee_estimator, spend_tx.output[0].value, predicted_weight, tx.txid(), used_feerate) {