mirror of
https://github.com/passepartoutvpn/wireguard-apple.git
synced 2025-02-20 23:02:06 +00:00
WireGuardKit: Assert that resolutionResults must not contain failures
Signed-off-by: Andrej Mihajlov <and@mullvad.net>
This commit is contained in:
parent
b34625f511
commit
9c38a1b897
@ -314,7 +314,7 @@ public class WireGuardAdapter {
|
||||
}
|
||||
|
||||
let resolvedEndpoints = resolutionResults.map { (result) -> Endpoint? in
|
||||
return try? result?.get()
|
||||
return try! result?.get()
|
||||
}
|
||||
|
||||
return resolvedEndpoints
|
||||
|
Loading…
Reference in New Issue
Block a user