mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-01-03 09:29:48 +00:00
test fix
This commit is contained in:
parent
f4f2678f1e
commit
26ed988240
1 changed files with 5 additions and 1 deletions
|
@ -279,7 +279,11 @@ Future<void> onStart(ServiceInstance service) async {
|
|||
if (syncedTicks > 5) {
|
||||
syncedTicks = 0;
|
||||
printV("WALLET $i SYNCED");
|
||||
wallet.stopSync();
|
||||
try {
|
||||
wallet.stopSync();
|
||||
} catch (e) {
|
||||
printV("error stopping sync: $e");
|
||||
}
|
||||
// pop the first wallet from the list
|
||||
standbyWallets.add(syncingWallets.removeAt(i));
|
||||
flutterLocalNotificationsPlugin.cancelAll();
|
||||
|
|
Loading…
Reference in a new issue