diff --git a/lib/electrumx_rpc/electrumx.dart b/lib/electrumx_rpc/electrumx.dart index 8a816235a..c34b760e4 100644 --- a/lib/electrumx_rpc/electrumx.dart +++ b/lib/electrumx_rpc/electrumx.dart @@ -275,9 +275,9 @@ class ElectrumX { final response = await request( requestID: requestID, command: 'server.ping', - connectionTimeout: const Duration(seconds: 1), + connectionTimeout: const Duration(seconds: 2), retries: retryCount, - ).timeout(const Duration(seconds: 1)) as Map; + ).timeout(const Duration(seconds: 2)) as Map; return response.keys.contains("result") && response["result"] == null; } catch (e) { rethrow;