diff options
author | Florian Dold <florian@dold.me> | 2022-01-11 22:17:40 +0100 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2022-01-11 22:17:40 +0100 |
commit | dbdad96b27619b8190571b899d3b11dd6af39335 (patch) | |
tree | c3e270b4d4839b556e6564b28d0ea43a85802ad1 | |
parent | a74cdf05295764258fe9e7f66f73a442a9b46697 (diff) |
revert empty balance
-rw-r--r-- | packages/taler-wallet-core/src/operations/balance.ts | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/packages/taler-wallet-core/src/operations/balance.ts b/packages/taler-wallet-core/src/operations/balance.ts index 61bae8286..298893920 100644 --- a/packages/taler-wallet-core/src/operations/balance.ts +++ b/packages/taler-wallet-core/src/operations/balance.ts @@ -47,10 +47,6 @@ export async function getBalancesInsideTransaction( withdrawalGroups: typeof WalletStoresV1.withdrawalGroups; }>, ): Promise<BalancesResponse> { - return { - balances: [], - }; - const balanceStore: Record<string, WalletBalance> = {}; /** @@ -152,9 +148,6 @@ export async function getBalancesInsideTransaction( export async function getBalances( ws: InternalWalletState, ): Promise<BalancesResponse> { - return { - balances: [], - }; logger.trace("starting to compute balance"); const wbal = await ws.db |