Skip to content

Commit

Permalink
remove timeout for now
Browse files Browse the repository at this point in the history
  • Loading branch information
simonmcl committed Aug 21, 2024
1 parent 9fdde00 commit 0e460d3
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions Sources/KukaiCoreSwift/Models/LedgerWallet.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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<String, KukaiError> in
return LedgerService.shared.sign(hex: hex, parse: isWatermarkedOperation)
}
Expand Down

0 comments on commit 0e460d3

Please sign in to comment.