projects
/
rust-lightning
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2118feb
)
Drop needless mut
2019-11-broken-build
author
Matt Corallo
<git@bluematt.me>
Fri, 15 Nov 2019 22:19:46 +0000
(17:19 -0500)
committer
Matt Corallo
<git@bluematt.me>
Fri, 15 Nov 2019 22:20:03 +0000
(17:20 -0500)
src/ln/channelmonitor.rs
patch
|
blob
|
history
diff --git
a/src/ln/channelmonitor.rs
b/src/ln/channelmonitor.rs
index 9deb11073ffc31273d233277070f528c4eca478f..a31c5bc504d02d49e6c155adf885e4d2fa737c1b 100644
(file)
--- 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) {