fix: handle sync status on updateFeeRates timeouts

This commit is contained in:
Serhii 2024-12-27 17:35:35 +02:00
parent c9a6abeea4
commit 8b59794787

View file

@ -508,6 +508,10 @@ abstract class ElectrumWalletBase
}
_feeRates = [slowFee, mediumFee, fastFee];
return;
} on TimeoutException catch (e) {
syncStatus = LostConnectionSyncStatus();
printV('TimeoutException in updateFeeRates: $e');
return;
} catch (e) {
printV(e);
}