Drop needless mut

This commit is contained in:
Matt Corallo 2019-11-15 17:19:46 -05:00
parent 2118feb090
commit f08383edce

View 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) {