mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-03-21 22:58:45 +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];
|
_feeRates = [slowFee, mediumFee, fastFee];
|
||||||
return;
|
return;
|
||||||
|
} on TimeoutException catch (e) {
|
||||||
|
syncStatus = LostConnectionSyncStatus();
|
||||||
|
printV('TimeoutException in updateFeeRates: $e');
|
||||||
|
return;
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
printV(e);
|
printV(e);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue