Fix new "uneccessary mut" warning

This commit is contained in:
Matt Corallo 2018-03-23 13:21:19 -04:00
parent 511c5319f1
commit 397b6f90e1

View File

@ -1236,7 +1236,7 @@ impl ChannelMessageHandler for ChannelManager {
match claimable_htlcs_entry {
hash_map::Entry::Occupied(mut e) => {
let mut outbound_route = e.get_mut();
let outbound_route = e.get_mut();
let route = match outbound_route {
&mut PendingOutboundHTLC::OutboundRoute { ref route } => {
route.clone()