mirror of
https://github.com/lightningdevkit/rust-lightning.git
synced 2025-02-25 15:20:24 +01:00
Drop needless mut
This commit is contained in:
parent
2118feb090
commit
f08383edce
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue