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:
Omar Hatem 2025-04-15 02:50:07 +02:00 committed by GitHub
parent f574fa5e9b
commit ca564bc2e6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 76 additions and 49 deletions

View file

@ -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"] ?? "";