diff --git a/Sources/ThresholdKey/StorageLayer.swift b/Sources/ThresholdKey/StorageLayer.swift index 5dc0193..5276f9d 100644 --- a/Sources/ThresholdKey/StorageLayer.swift +++ b/Sources/ThresholdKey/StorageLayer.swift @@ -56,7 +56,7 @@ public final class StorageLayer { /// - Returns: `StorageLayer` /// /// - Throws: `RuntimeError`, indicates invalid parameters. - public init(enable_logging: Bool, host_url: String, server_time_offset: Int64) throws { + public init(enable_logging: Bool = false, host_url: String = "https://metadata.tor.us", server_time_offset: Int64 = 2) throws { var errorCode: Int32 = -1 let urlPointer = UnsafeMutablePointer(mutating: (host_url as NSString).utf8String)