aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2020-07-16 20:51:22 +0530
committerFlorian Dold <florian.dold@gmail.com>2020-07-16 20:51:22 +0530
commit041911a15f7ad7538fbd81dc4c6cc731b5cd39ab (patch)
treec33be792889e876c21947a6209e7da7e52598036
parentd17da64a3541258f6662bfe3016bd87fddf40a41 (diff)
update/add exchange before withdrawal
-rw-r--r--src/headless/taler-wallet-cli.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/headless/taler-wallet-cli.ts b/src/headless/taler-wallet-cli.ts
index 838e56f64..c9264caea 100644
--- a/src/headless/taler-wallet-cli.ts
+++ b/src/headless/taler-wallet-cli.ts
@@ -925,6 +925,7 @@ testCli
})
.action(async (args) => {
await withWallet(args, async (wallet) => {
+ await wallet.updateExchangeFromUrl(args.withdrawArgs.exchange, true);
await withdrawTestBalance(
wallet,
args.withdrawArgs.amount,