From f08383edcee6b673e41ccde79dd38891b4224bec Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Fri, 15 Nov 2019 17:19:46 -0500 Subject: [PATCH] Drop needless mut --- src/ln/channelmonitor.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ln/channelmonitor.rs b/src/ln/channelmonitor.rs index 9deb11073..a31c5bc50 100644 --- a/src/ln/channelmonitor.rs +++ b/src/ln/channelmonitor.rs @@ -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) { -- 2.39.5