taler-typescript-core

Wallet core logic and WebUIs for various components
Log | Files | Refs | Submodules | README | LICENSE

commit 80053974364cba21e727b47be52085954a9b0511
parent 73c5b8d0aa181e7f04d635ff8c208b767f0440d0
Author: Florian Dold <florian@dold.me>
Date:   Sat, 18 Jul 2026 16:43:13 +0200

optimize query in updateWithdrawalDenomsForExchange

Diffstat:
Mpackages/taler-wallet-core/src/withdraw.ts | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/packages/taler-wallet-core/src/withdraw.ts b/packages/taler-wallet-core/src/withdraw.ts @@ -2012,7 +2012,9 @@ export async function updateWithdrawalDenomsForExchange( const denoms = await wex.runLegacyWalletDbTx(async (tx) => { const allFamilies = - await tx.denominationFamilies.indexes.byExchangeBaseUrl.getAll(); + await tx.denominationFamilies.indexes.byExchangeBaseUrl.getAll( + exchangeBaseUrl, + ); const denominations: DenominationRecord[] | undefined = []; for (const fam of allFamilies) { const fpSerial = fam.denominationFamilySerial;