From 0e460d3e72387329ae3bdafbbfc1a7f1e3d08d12 Mon Sep 17 00:00:00 2001 From: Simon McLoughlin Date: Wed, 21 Aug 2024 12:11:43 +0100 Subject: [PATCH] remove timeout for now --- Sources/KukaiCoreSwift/Models/LedgerWallet.swift | 3 --- 1 file changed, 3 deletions(-) diff --git a/Sources/KukaiCoreSwift/Models/LedgerWallet.swift b/Sources/KukaiCoreSwift/Models/LedgerWallet.swift index 8df55691..9e74f11b 100644 --- a/Sources/KukaiCoreSwift/Models/LedgerWallet.swift +++ b/Sources/KukaiCoreSwift/Models/LedgerWallet.swift @@ -78,9 +78,6 @@ public class LedgerWallet: Wallet { let isWatermarkedOperation = (String(hex.prefix(2)) == "03") && hex.count != 32 LedgerService.shared.connectTo(uuid: ledgerUUID) - .timeout(.seconds(10), scheduler: RunLoop.main, customError: { - return KukaiError.knownErrorMessage("Timed out waiting for device to connect. Check device/bluetooth is turned on and try again") - }) .flatMap { _ -> AnyPublisher in return LedgerService.shared.sign(hex: hex, parse: isWatermarkedOperation) }