aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-wallet-cli
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2023-02-02 20:37:15 +0100
committerFlorian Dold <florian@dold.me>2023-02-02 20:37:15 +0100
commit9d6613619e052aba429e042a25744f1160950d15 (patch)
tree4ee187d3c06eee7ed790492b515678a1d7416ec3 /packages/taler-wallet-cli
parent96101238afb82d200cf9d5005ffc2fc0391f23e4 (diff)
harness,wallet-cli: allow in-memory DB
Diffstat (limited to 'packages/taler-wallet-cli')
-rw-r--r--packages/taler-wallet-cli/src/index.ts2
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)}`);