Skip to content

Commit

Permalink
Add defaults to StorageLayer
Browse files Browse the repository at this point in the history
  • Loading branch information
shahbaz17 committed Aug 11, 2023
1 parent 3cb2d89 commit 594d66c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/ThresholdKey/StorageLayer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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<Int8>(mutating: (host_url as NSString).utf8String)

Expand Down

0 comments on commit 594d66c

Please sign in to comment.