Fix: info single call times out all the time

This commit is contained in:
Francisco Gindre 2021-06-19 20:39:56 -03:00
parent e107170e14
commit 441f2502d2
1 changed files with 1 additions and 1 deletions

View File

@ -195,7 +195,7 @@ extension LightWalletGRPCService: LightWalletService {
}
public func getInfo(result: @escaping (Result<LightWalletdInfo, LightWalletServiceError>) -> Void) {
compactTxStreamer.getLightdInfo(Empty(), callOptions: Self.callOptions(timeLimit: .timeout(.seconds(5)))).response.whenComplete { r in
compactTxStreamer.getLightdInfo(Empty()).response.whenComplete { r in
switch r {
case .success(let info):
result(.success(info))