revert empty balance

This commit is contained in:
Florian Dold 2022-01-11 22:17:40 +01:00
parent a74cdf0529
commit dbdad96b27
No known key found for this signature in database
GPG Key ID: D2E4F00F29D02A4B

View File

@ -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