Skip to content

Commit

Permalink
Enable Dunder by default for new wallet creations
Browse files Browse the repository at this point in the history
  • Loading branch information
hsjoberg committed Nov 10, 2023
1 parent 886d6ad commit d1eb5df
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/state/Settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ export const settings: ISettingsModel = {
actions.setBitcoindPubRawTx((await getItem(StorageItem.bitcoindPubRawTx)) ?? "");
actions.setDunderServer((await getItem(StorageItem.dunderServer)) ?? "");
actions.setRequireGraphSync((await getItemObject(StorageItem.requireGraphSync)) ?? false);
actions.setDunderEnabled((await getItemObject(StorageItem.dunderEnabled)) ?? false);
actions.setDunderEnabled((await getItemObject(StorageItem.dunderEnabled)) ?? true);
actions.setLndNoGraphCache((await getItemObject(StorageItem.lndNoGraphCache)) ?? false);
actions.setInvoiceExpiry(
(await getItemObject(StorageItem.invoiceExpiry)) ?? DEFAULT_INVOICE_EXPIRY,
Expand Down Expand Up @@ -656,7 +656,7 @@ export const settings: ISettingsModel = {
bitcoindPubRawTx: "",
dunderServer: "",
requireGraphSync: false,
dunderEnabled: false,
dunderEnabled: true,
lndNoGraphCache: false,
invoiceExpiry: DEFAULT_INVOICE_EXPIRY,
rescanWallet: false,
Expand Down
2 changes: 1 addition & 1 deletion src/storage/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ export const setupApp = async () => {
setItem(StorageItem.bitcoindPubRawTx, bitcoindPubRawTx),
setItem(StorageItem.dunderServer, DEFAULT_DUNDER_SERVER),
setItemObject<boolean>(StorageItem.requireGraphSync, false),
setItemObject<boolean>(StorageItem.dunderEnabled, false),
setItemObject<boolean>(StorageItem.dunderEnabled, true),
setItemObject<boolean>(StorageItem.lndNoGraphCache, false),
setItemObject<number>(StorageItem.invoiceExpiry, DEFAULT_INVOICE_EXPIRY),
setItemObject<boolean>(StorageItem.rescanWallet, false),
Expand Down

0 comments on commit d1eb5df

Please sign in to comment.