diff options
Diffstat (limited to 'packages/taler-wallet-core/src/operations/balance.ts')
-rw-r--r-- | packages/taler-wallet-core/src/operations/balance.ts | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/packages/taler-wallet-core/src/operations/balance.ts b/packages/taler-wallet-core/src/operations/balance.ts index 4590f5051..44357fdf4 100644 --- a/packages/taler-wallet-core/src/operations/balance.ts +++ b/packages/taler-wallet-core/src/operations/balance.ts @@ -139,12 +139,7 @@ export async function getBalances( logger.trace("starting to compute balance"); const wbal = await ws.db - .mktx((x) => ({ - coins: x.coins, - refreshGroups: x.refreshGroups, - purchases: x.purchases, - withdrawalGroups: x.withdrawalGroups, - })) + .mktx((x) => [x.coins, x.refreshGroups, x.purchases, x.withdrawalGroups]) .runReadOnly(async (tx) => { return getBalancesInsideTransaction(ws, tx); }); |