mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-18 05:51:34 +02:00
CW-295-Electrum-Transactions-not-getting-fetched-correctly (#838)
* increase timeout for electrum server.ping * update timer for compliter * Revert "update timer for compliter" This reverts commit a2af1e1ff70454af5507da5a1598eaaaf1421fea. * [skip ci] increace aliveTimerDuration
This commit is contained in:
@@ -40,7 +40,7 @@ class ElectrumClient {
|
||||
unterminatedString = '';
|
||||
|
||||
static const connectionTimeout = Duration(seconds: 5);
|
||||
static const aliveTimerDuration = Duration(seconds: 2);
|
||||
static const aliveTimerDuration = Duration(seconds: 4);
|
||||
|
||||
bool get isConnected => _isConnected;
|
||||
Socket? socket;
|
||||
@@ -358,7 +358,7 @@ class ElectrumClient {
|
||||
Future<dynamic> callWithTimeout(
|
||||
{required String method,
|
||||
List<Object> params = const [],
|
||||
int timeout = 2000}) async {
|
||||
int timeout = 4000}) async {
|
||||
try {
|
||||
final completer = Completer<dynamic>();
|
||||
_id += 1;
|
||||
|
||||
Reference in New Issue
Block a user