summaryrefslogtreecommitdiff
path: root/packages/taler-wallet-core/src/operations
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2022-01-11 22:17:40 +0100
committerFlorian Dold <florian@dold.me>2022-01-11 22:17:40 +0100
commitdbdad96b27619b8190571b899d3b11dd6af39335 (patch)
treec3e270b4d4839b556e6564b28d0ea43a85802ad1 /packages/taler-wallet-core/src/operations
parenta74cdf05295764258fe9e7f66f73a442a9b46697 (diff)
downloadwallet-core-dbdad96b27619b8190571b899d3b11dd6af39335.tar.gz
wallet-core-dbdad96b27619b8190571b899d3b11dd6af39335.tar.bz2
wallet-core-dbdad96b27619b8190571b899d3b11dd6af39335.zip
revert empty balance
Diffstat (limited to 'packages/taler-wallet-core/src/operations')
-rw-r--r--packages/taler-wallet-core/src/operations/balance.ts7
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