From 237ecd4fb28ffacf1392307c773d18d2a8b4ac09 Mon Sep 17 00:00:00 2001 From: Nitesh Balusu <84944042+niteshbalusu11@users.noreply.github.com> Date: Tue, 7 Nov 2023 15:29:08 -0500 Subject: [PATCH] Make ln channel sync default to true --- src/state/Settings.ts | 4 ++-- src/storage/app.ts | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/state/Settings.ts b/src/state/Settings.ts index 37059b9bf..2d66cdb80 100644 --- a/src/state/Settings.ts +++ b/src/state/Settings.ts @@ -198,7 +198,7 @@ export const settings: ISettingsModel = { (await getItemObject(StorageItem.scheduledSyncEnabled)) || false, ); actions.setScheduledGossipSyncEnabled( - (await getItemObject(StorageItem.scheduledGossipSyncEnabled)) || false, + (await getItemObject(StorageItem.scheduledGossipSyncEnabled)) || true, ); actions.setDebugShowStartupInfo( (await getItemObject(StorageItem.debugShowStartupInfo)) || false, @@ -634,7 +634,7 @@ export const settings: ISettingsModel = { pushNotificationsEnabled: false, clipboardInvoiceCheckEnabled: false, scheduledSyncEnabled: false, - scheduledGossipSyncEnabled: false, + scheduledGossipSyncEnabled: true, debugShowStartupInfo: false, googleDriveBackupEnabled: false, preferFiat: false, diff --git a/src/storage/app.ts b/src/storage/app.ts index ed0620e8b..d9f302cdb 100644 --- a/src/storage/app.ts +++ b/src/storage/app.ts @@ -266,6 +266,7 @@ export const setupApp = async () => { setItem(StorageItem.lndLogLevel, DEFAULT_LND_LOG_LEVEL), setItemObject(StorageItem.lndCompactDb, false), setItemObject(StorageItem.enforceSpeedloaderOnStartup, false), + setItemObject(StorageItem.scheduledGossipSyncEnabled, true), setItemObject(StorageItem.persistentServicesEnabled, false), setItemObject(StorageItem.persistentServicesWarningShown, false), setItemObject(StorageItem.zeroConfPeers, [BLIXT_NODE_PUBKEY]),