pull/296/head
nielsandriesse 5 years ago
parent 07a3d61242
commit 62b2fa112b

@ -11,7 +11,7 @@ public enum OnionRequestAPI {
/// The number of snodes (including the guard snode) in a path.
private static let pathSize: UInt = 3
/// The number of times a path can fail before it's replaced.
private static let pathFailureThreshold: UInt = 2
private static let pathFailureThreshold: UInt = 3
/// The number of paths to maintain.
public static let targetPathCount: UInt = 2
@ -313,8 +313,8 @@ public enum OnionRequestAPI {
}
let payload: JSON = [
"body" : parametersAsString,
"endpoint": endpoint,
"method" : request.httpMethod,
"endpoint" : endpoint,
"method" : request.httpMethod!,
"headers" : headers
]
let destination = Destination.server(host: host, x25519PublicKey: x25519PublicKey)

Loading…
Cancel
Save