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 | |
parent | 96101238afb82d200cf9d5005ffc2fc0391f23e4 (diff) |
harness,wallet-cli: allow in-memory DB
Diffstat (limited to 'packages/taler-wallet-cli')
-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)}`); |