mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-06-28 12:29:51 +00:00
V4.26.0 rc (#2198)
* v4.26.0 Release Candidate * Fix Wownero Creation issue * Add KES fiat currency * Adjust backup to default node selection if null Gracefully handle Decred failure Minor fixes
This commit is contained in:
parent
f574fa5e9b
commit
ca564bc2e6
8 changed files with 76 additions and 49 deletions
|
@ -222,7 +222,7 @@ abstract class DecredWalletBase
|
|||
|
||||
Future<bool> checkSync() async {
|
||||
final syncStatusJSON = await _libwallet.syncStatus(walletInfo.name);
|
||||
final decoded = json.decode(syncStatusJSON);
|
||||
final decoded = json.decode(syncStatusJSON.isEmpty ? "{}" : syncStatusJSON);
|
||||
|
||||
final syncStatusCode = decoded["syncstatuscode"] ?? 0;
|
||||
// final syncStatusStr = decoded["syncstatus"] ?? "";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue