diff options
Diffstat (limited to 'packages/taler-wallet-cli')
-rw-r--r-- | packages/taler-wallet-cli/src/index.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/taler-wallet-cli/src/index.ts b/packages/taler-wallet-cli/src/index.ts index aad034b87..db6c0a9f3 100644 --- a/packages/taler-wallet-cli/src/index.ts +++ b/packages/taler-wallet-cli/src/index.ts @@ -598,10 +598,10 @@ advancedCli }) .action(async (args) => { await withWallet(args, async (wallet) => { - const exchange = await wallet.updateExchangeFromUrl( + const { exchange, exchangeDetails } = await wallet.updateExchangeFromUrl( args.withdrawManually.exchange, ); - const acct = exchange.wireInfo?.accounts[0]; + const acct = exchangeDetails.wireInfo.accounts[0]; if (!acct) { console.log("exchange has no accounts"); return; |