Skip to content

Commit

Permalink
Make ln channel sync default to true
Browse files Browse the repository at this point in the history
  • Loading branch information
niteshbalusu11 authored Nov 7, 2023
1 parent e0ad932 commit 237ecd4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/state/Settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -634,7 +634,7 @@ export const settings: ISettingsModel = {
pushNotificationsEnabled: false,
clipboardInvoiceCheckEnabled: false,
scheduledSyncEnabled: false,
scheduledGossipSyncEnabled: false,
scheduledGossipSyncEnabled: true,
debugShowStartupInfo: false,
googleDriveBackupEnabled: false,
preferFiat: false,
Expand Down
1 change: 1 addition & 0 deletions src/storage/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,7 @@ export const setupApp = async () => {
setItem(StorageItem.lndLogLevel, DEFAULT_LND_LOG_LEVEL),
setItemObject<boolean>(StorageItem.lndCompactDb, false),
setItemObject<boolean>(StorageItem.enforceSpeedloaderOnStartup, false),
setItemObject<boolean>(StorageItem.scheduledGossipSyncEnabled, true),
setItemObject<boolean>(StorageItem.persistentServicesEnabled, false),
setItemObject<boolean>(StorageItem.persistentServicesWarningShown, false),
setItemObject<string[]>(StorageItem.zeroConfPeers, [BLIXT_NODE_PUBKEY]),
Expand Down

1 comment on commit 237ecd4

@vercel
Copy link

@vercel vercel bot commented on 237ecd4 Nov 7, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

blixt-wallet – ./

blixt-wallet-hsjoberg.vercel.app
blixt-wallet-git-master-hsjoberg.vercel.app

Please sign in to comment.