commit dbdad96b27619b8190571b899d3b11dd6af39335
parent a74cdf05295764258fe9e7f66f73a442a9b46697
Author: Florian Dold <florian@dold.me>
Date: Tue, 11 Jan 2022 22:17:40 +0100
revert empty balance
Diffstat:
1 file 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
@@ -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