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