diff options
author | Florian Dold <florian@dold.me> | 2023-02-02 20:37:15 +0100 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2023-02-02 20:37:15 +0100 |
commit | 9d6613619e052aba429e042a25744f1160950d15 (patch) | |
tree | 4ee187d3c06eee7ed790492b515678a1d7416ec3 /packages/taler-wallet-cli/src/index.ts | |
parent | 96101238afb82d200cf9d5005ffc2fc0391f23e4 (diff) | |
download | wallet-core-9d6613619e052aba429e042a25744f1160950d15.tar.xz |
harness,wallet-cli: allow in-memory DB
Diffstat (limited to 'packages/taler-wallet-cli/src/index.ts')
-rw-r--r-- | packages/taler-wallet-cli/src/index.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/taler-wallet-cli/src/index.ts b/packages/taler-wallet-cli/src/index.ts index cce982dfb..1e0f1b5cb 100644 --- a/packages/taler-wallet-cli/src/index.ts +++ b/packages/taler-wallet-cli/src/index.ts @@ -250,7 +250,7 @@ async function createLocalWallet( myHttpLib.setThrottling(false); } const wallet = await getDefaultNodeWallet({ - persistentStoragePath: dbPath, + persistentStoragePath: dbPath !== ":memory:" ? dbPath : undefined, httpLib: myHttpLib, notifyHandler: (n) => { logger.info(`wallet notification: ${j2s(n)}`); |