Skip to content

Commit 3215173

Browse files
committed
f drop refs suggested by val
1 parent bc9bd0a commit 3215173

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lightning/src/routing/network_graph.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -124,11 +124,11 @@ impl<C: Deref + Sync + Send, L: Deref + Sync + Send> RoutingMessageHandler for N
124124
&msgs::HTLCFailChannelUpdate::ChannelUpdateMessage { ref msg } => {
125125
let _ = self.network_graph.write().unwrap().update_channel(msg, Some(&self.secp_ctx));
126126
},
127-
&msgs::HTLCFailChannelUpdate::ChannelClosed { ref short_channel_id, ref is_permanent } => {
128-
self.network_graph.write().unwrap().close_channel_from_update(*short_channel_id, *is_permanent);
127+
&msgs::HTLCFailChannelUpdate::ChannelClosed { short_channel_id, is_permanent } => {
128+
self.network_graph.write().unwrap().close_channel_from_update(short_channel_id, is_permanent);
129129
},
130-
&msgs::HTLCFailChannelUpdate::NodeFailure { ref node_id, ref is_permanent } => {
131-
self.network_graph.write().unwrap().fail_node(node_id, *is_permanent);
130+
&msgs::HTLCFailChannelUpdate::NodeFailure { ref node_id, is_permanent } => {
131+
self.network_graph.write().unwrap().fail_node(node_id, is_permanent);
132132
},
133133
}
134134
}

0 commit comments

Comments
 (0)