diff options
author | Florian Dold <florian.dold@gmail.com> | 2019-12-09 19:59:08 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2019-12-09 19:59:08 +0100 |
commit | 6415564b9259a4a6a2f6ec9cb934eab3d56a1677 (patch) | |
tree | 577372a635b5503c1ad81b2af8523a839e790bb7 /src/headless/taler-wallet-cli.ts | |
parent | 99bccae9fe1588f711e7606dc3c6d7dd4a25675a (diff) | |
download | wallet-core-6415564b9259a4a6a2f6ec9cb934eab3d56a1677.tar.xz |
tos
Diffstat (limited to 'src/headless/taler-wallet-cli.ts')
-rw-r--r-- | src/headless/taler-wallet-cli.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/headless/taler-wallet-cli.ts b/src/headless/taler-wallet-cli.ts index 4cec984d5..d2ace124d 100644 --- a/src/headless/taler-wallet-cli.ts +++ b/src/headless/taler-wallet-cli.ts @@ -230,8 +230,8 @@ walletCli break; case TalerUriType.TalerWithdraw: { - const withdrawInfo = await wallet.getWithdrawalInfo(uri); - const selectedExchange = withdrawInfo.suggestedExchange; + const withdrawInfo = await wallet.getWithdrawDetailsForUri(uri); + const selectedExchange = withdrawInfo.bankWithdrawDetails.suggestedExchange; if (!selectedExchange) { console.error("no suggested exchange!"); process.exit(1); |