aboutsummaryrefslogtreecommitdiff
path: root/src/headless
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2019-09-01 01:05:38 +0200
committerFlorian Dold <florian.dold@gmail.com>2019-09-01 01:05:38 +0200
commit70912b07250e7c86ace4a0b0b16e90352df93ece (patch)
tree4609e53f86197c7706e803972537488cacb9173c /src/headless
parentaa36fce8a0d1ead29709444527c2d1a4ba9491a6 (diff)
fix error in index iteration
Diffstat (limited to 'src/headless')
-rw-r--r--src/headless/helpers.ts3
-rw-r--r--src/headless/taler-wallet-cli.ts2
2 files changed, 3 insertions, 2 deletions
diff --git a/src/headless/helpers.ts b/src/headless/helpers.ts
index a86b26738..6716ccef4 100644
--- a/src/headless/helpers.ts
+++ b/src/headless/helpers.ts
@@ -133,8 +133,9 @@ export async function getDefaultNodeWallet(
const myBadge = new ConsoleBadge();
+ BridgeIDBFactory.enableTracing = true;
const myBackend = new MemoryBackend();
- myBackend.enableTracing = false;
+ myBackend.enableTracing = true;
const storagePath = args.persistentStoragePath;
if (storagePath) {
diff --git a/src/headless/taler-wallet-cli.ts b/src/headless/taler-wallet-cli.ts
index bfa1ac4b9..da68f46ae 100644
--- a/src/headless/taler-wallet-cli.ts
+++ b/src/headless/taler-wallet-cli.ts
@@ -135,7 +135,7 @@ program
persistentStoragePath: walletDbPath,
});
- const withdrawInfo = await wallet.downloadWithdrawInfo(withdrawUrl);
+ const withdrawInfo = await wallet.getWithdrawalInfo(withdrawUrl);
console.log("withdraw info", withdrawInfo);