diff options
author | Florian Dold <florian@dold.me> | 2024-04-23 03:09:40 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2024-04-23 03:09:40 +0200 |
commit | 1edc144b3595ae1ab6b8af7a43d26b811b2c2623 (patch) | |
tree | db552f6b4a351eb1d0dae902f4d504031852bda7 /packages/taler-wallet-core/src/instructedAmountConversion.ts | |
parent | 4b69853c347071acb73efcde9d4969cf06d0dfcc (diff) | |
download | wallet-core-1edc144b3595ae1ab6b8af7a43d26b811b2c2623.tar.xz |
wallet-core: pass options object to all transactions
Diffstat (limited to 'packages/taler-wallet-core/src/instructedAmountConversion.ts')
-rw-r--r-- | packages/taler-wallet-core/src/instructedAmountConversion.ts | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/packages/taler-wallet-core/src/instructedAmountConversion.ts b/packages/taler-wallet-core/src/instructedAmountConversion.ts index 63ccb8b56..1f7d95959 100644 --- a/packages/taler-wallet-core/src/instructedAmountConversion.ts +++ b/packages/taler-wallet-core/src/instructedAmountConversion.ts @@ -150,7 +150,14 @@ async function getAvailableDenoms( const operationType = getOperationType(TransactionType.Deposit); return await wex.db.runReadOnlyTx( - ["exchanges", "exchangeDetails", "denominations", "coinAvailability"], + { + storeNames: [ + "exchanges", + "exchangeDetails", + "denominations", + "coinAvailability", + ], + }, async (tx) => { const list: CoinInfo[] = []; const exchanges: Record<string, ExchangeInfo> = {}; |