projects
/
rust-lightning
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Remove some excess mut's 1.22 complains about
[rust-lightning]
/
src
/
ln
/
channel.rs
diff --git
a/src/ln/channel.rs
b/src/ln/channel.rs
index fc67085250a3e1f429d53dcffa06f7ff3455a0d9..6fdc1462a419b2885c8a125986d64cfde94d86a7 100644
(file)
--- a/
src/ln/channel.rs
+++ b/
src/ln/channel.rs
@@
-985,7
+985,7
@@
impl Channel {
}
let htlc_id = {
- let
mut
htlc = &mut self.pending_htlcs[pending_idx];
+ let htlc = &mut self.pending_htlcs[pending_idx];
if htlc.state == HTLCState::Committed {
htlc.state = HTLCState::LocalRemoved;
htlc.local_removed_fulfilled = true;