increase timeout for electrum server.ping

This commit is contained in:
Serhii 2023-03-20 20:47:32 +02:00
parent ab4d020560
commit 24354b0864

View file

@ -358,7 +358,7 @@ class ElectrumClient {
Future<dynamic> callWithTimeout( Future<dynamic> callWithTimeout(
{required String method, {required String method,
List<Object> params = const [], List<Object> params = const [],
int timeout = 2000}) async { int timeout = 3000}) async {
try { try {
final completer = Completer<dynamic>(); final completer = Completer<dynamic>();
_id += 1; _id += 1;