[skip ci] minor

This commit is contained in:
Matthew Fosse 2024-12-26 12:38:38 -05:00
parent 9be1f7fe00
commit 585ced1c21

View file

@ -273,8 +273,6 @@ Future<void> onStart(ServiceInstance service) async {
await wallet.connectToNode(node: node);
wallet.startSync();
printV("STARTED SYNC");
// wait a few seconds before checking progress
// await Future.delayed(const Duration(seconds: 10));
}
if (progress > 0.999 || syncStatus is SyncedSyncStatus) {
@ -322,7 +320,8 @@ Future<void> onStart(ServiceInstance service) async {
} else if (syncStatus is ConnectingSyncStatus) {
content = "Connecting";
} else {
throw Exception("sync type not covered");
// throw Exception("sync type not covered");
content = "Unknown Sync Status ${syncStatus.runtimeType}";
}
if (syncedTicks > 0) {