diff options
Diffstat (limited to 'src/headless')
-rw-r--r-- | src/headless/taler-wallet-cli.ts | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/headless/taler-wallet-cli.ts b/src/headless/taler-wallet-cli.ts index ca0f0f5d1..ed6146a6b 100644 --- a/src/headless/taler-wallet-cli.ts +++ b/src/headless/taler-wallet-cli.ts @@ -197,14 +197,7 @@ walletCli .action(async (args) => { await withWallet(args, async (wallet) => { const balance = await wallet.getBalances(); - if (args.balance.json) { - console.log(JSON.stringify(balance, undefined, 2)); - } else { - const currencies = Object.keys(balance.byCurrency).sort(); - for (const c of currencies) { - console.log(Amounts.stringify(balance.byCurrency[c].available)); - } - } + console.log(JSON.stringify(balance, undefined, 2)); }); }); |