Skip to content

Commit

Permalink
Update Zcash end point
Browse files Browse the repository at this point in the history
  • Loading branch information
ant013 committed May 29, 2024
1 parent 07edf3d commit d473f1b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions UnstoppableWallet/UnstoppableWallet.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -12732,7 +12732,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 0.38.1;
MARKETING_VERSION = 0.38.2;
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
OfficeMode = true;
Expand Down Expand Up @@ -12804,7 +12804,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 0.38.1;
MARKETING_VERSION = 0.38.2;
MTL_ENABLE_DEBUG_INFO = NO;
OfficeMode = false;
SDKROOT = iphoneos;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import UIKit
import ZcashLightClientKit

class ZcashAdapter {
private static let endPoint = "mainnet.lightwalletd.com" // "lightwalletd.electriccoin.co"
private static let endPoint = "zec.rocks" // "lightwalletd.electriccoin.co"
private let queue = DispatchQueue(label: "\(AppConfig.label).zcash-adapter", qos: .userInitiated)

private var cancellables: [AnyCancellable] = []
Expand Down Expand Up @@ -66,7 +66,8 @@ class ZcashAdapter {
private(set) var syncing: Bool = true

init(wallet: Wallet, restoreSettings: RestoreSettings) throws {
logger = App.shared.logger.scoped(with: "ZCashKit") // HsToolKit.Logger(minLogLevel: .debug) //
logger = App.shared.logger.scoped(with: "ZCashKit")
// HsToolKit.Logger(minLogLevel: .debug)

guard let seed = wallet.account.type.mnemonicSeed else {
throw AdapterError.unsupportedAccount
Expand Down Expand Up @@ -501,7 +502,7 @@ extension ZcashAdapter {
fsBlockDbRoot: fsBlockDbRootURL(uniqueId: uniqueId, network: network),
generalStorageURL: generalStorageURL(uniqueId: uniqueId, network: network),
dataDbURL: dataDbURL(uniqueId: uniqueId, network: network),
endpoint: LightWalletEndpoint(address: endPoint, port: 9067, secure: true, streamingCallTimeoutInMillis: 10 * 60 * 60 * 1000),
endpoint: LightWalletEndpoint(address: endPoint, port: 443, secure: true, streamingCallTimeoutInMillis: 10 * 60 * 60 * 1000),
network: network,
spendParamsURL: spendParamsURL(uniqueId: uniqueId),
outputParamsURL: outputParamsURL(uniqueId: uniqueId),
Expand Down

0 comments on commit d473f1b

Please sign in to comment.