diff --git a/src/core/account/memory-wallet.ts b/src/core/account/memory-wallet.ts index 29b3f4a3..baaf9a0c 100644 --- a/src/core/account/memory-wallet.ts +++ b/src/core/account/memory-wallet.ts @@ -102,6 +102,7 @@ export const makeMemoryWalletInner = async ( }, customTokens: { ...config.customTokens }, enabledTokenIds: [...Object.keys(config.allTokens)], + lightMode: true, log, userSettings: { ...(config.userSettings ?? {}) }, walletLocalDisklet: makeMemoryDisklet(), diff --git a/src/types/types.ts b/src/types/types.ts index 4e7f4207..10044ecb 100644 --- a/src/types/types.ts +++ b/src/types/types.ts @@ -893,6 +893,7 @@ export interface EdgeCurrencyEngineCallbacks { export interface EdgeCurrencyEngineOptions { callbacks: EdgeCurrencyEngineCallbacks + lightMode?: boolean // Flag indicating that the engine only needs to sync the balance and be able to spend // Wallet-scoped IO objects: log: EdgeLog