Skip to content

Commit f08383e

Browse files
committed
Drop needless mut
1 parent 2118feb commit f08383e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ln/channelmonitor.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1740,7 +1740,7 @@ impl ChannelMonitor {
17401740
output: outputs,
17411741
};
17421742

1743-
let mut predicted_weight = spend_tx.get_weight() + Self::get_witnesses_weight(&inputs_desc[..]);
1743+
let predicted_weight = spend_tx.get_weight() + Self::get_witnesses_weight(&inputs_desc[..]);
17441744

17451745
let mut used_feerate;
17461746
if !subtract_high_prio_fee!(self, fee_estimator, spend_tx.output[0].value, predicted_weight, tx.txid(), used_feerate) {

0 commit comments

Comments
 (0)