mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-01-18 08:45:05 +00:00
fix: handle sync status on updateFeeRates timeouts
This commit is contained in:
parent
c9a6abeea4
commit
8b59794787
1 changed files with 4 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue