diff options
| -rw-r--r-- | mullvad-daemon/src/relays.rs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/mullvad-daemon/src/relays.rs b/mullvad-daemon/src/relays.rs index f81110badb..4c9111d468 100644 --- a/mullvad-daemon/src/relays.rs +++ b/mullvad-daemon/src/relays.rs @@ -359,9 +359,8 @@ impl RelaySelector { (relay.location.as_ref().unwrap().distance_from(&location) * 1000.0) as i64 }); matching_relays.get(0).and_then(|relay| { - (self - .pick_random_bridge(&relay) - .map(|bridge| (bridge, relay.clone()))) + self.pick_random_bridge(&relay) + .map(|bridge| (bridge, relay.clone())) }) } |
