aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-wallet-cli/src/index.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2022-09-13 15:28:34 +0200
committerFlorian Dold <florian@dold.me>2022-09-13 16:10:42 +0200
commit676ae5102b618e7e52ba289d453a470fe77ce9d5 (patch)
tree6d10f4fd3d04d653c8734cdebb5ab3472cd86fd5 /packages/taler-wallet-cli/src/index.ts
parent48540f62644b4c2e4e96095b11e202cb62e3e93d (diff)
downloadwallet-core-676ae5102b618e7e52ba289d453a470fe77ce9d5.tar.xz
fix test and logging
Diffstat (limited to 'packages/taler-wallet-cli/src/index.ts')
-rw-r--r--packages/taler-wallet-cli/src/index.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/taler-wallet-cli/src/index.ts b/packages/taler-wallet-cli/src/index.ts
index 2ed371420..5fd608f77 100644
--- a/packages/taler-wallet-cli/src/index.ts
+++ b/packages/taler-wallet-cli/src/index.ts
@@ -226,6 +226,9 @@ async function withWallet<T>(
const wallet = await getDefaultNodeWallet({
persistentStoragePath: dbPath,
httpLib: myHttpLib,
+ notifyHandler: (n) => {
+ logger.info(`wallet notification: ${j2s(n)}`);
+ },
});
if (checkEnvFlag("TALER_WALLET_BATCH_WITHDRAWAL")) {