diff options
author | Florian Dold <florian@dold.me> | 2024-04-02 19:08:42 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2024-04-02 19:08:42 +0200 |
commit | 8fce8dd5601bb88608884d2ce1e14f422e810ef1 (patch) | |
tree | a6b58b430d69cbfb95d70b8ecf76f183e78c4e31 /packages/taler-wallet-core/src | |
parent | 06cabfb01f8a70f2480485e51b2a79d178af9c3a (diff) | |
download | wallet-core-8fce8dd5601bb88608884d2ce1e14f422e810ef1.tar.xz |
wallet-core: fix buggy creation of denom-loss transactions
Diffstat (limited to 'packages/taler-wallet-core/src')
-rw-r--r-- | packages/taler-wallet-core/src/exchanges.ts | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/packages/taler-wallet-core/src/exchanges.ts b/packages/taler-wallet-core/src/exchanges.ts index 0fbe7297c..fa2876e30 100644 --- a/packages/taler-wallet-core/src/exchanges.ts +++ b/packages/taler-wallet-core/src/exchanges.ts @@ -1721,7 +1721,10 @@ async function handleDenomLoss( continue; } const n = coinAv.freshCoinCount; - const denom = await tx.denominations.get(coinAv.denomPubHash); + const denom = await tx.denominations.get([ + coinAv.exchangeBaseUrl, + coinAv.denomPubHash, + ]); const timestampExpireDeposit = !denom ? undefined : timestampAbsoluteFromDb(denom.stampExpireDeposit); |