diff options
author | Florian Dold <florian@dold.me> | 2024-02-27 22:23:11 +0100 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2024-02-27 22:23:11 +0100 |
commit | d3572014b06f60250e3bb9e99898b89cd11a4294 (patch) | |
tree | d98879e8198cc748513b4c331ee3a764ea10638e /packages/taler-wallet-core/src/deposits.ts | |
parent | f08798520ef9b8b0ff36c6aaf93653605b53b912 (diff) | |
download | wallet-core-d3572014b06f60250e3bb9e99898b89cd11a4294.tar.gz wallet-core-d3572014b06f60250e3bb9e99898b89cd11a4294.tar.bz2 wallet-core-d3572014b06f60250e3bb9e99898b89cd11a4294.zip |
observability
Diffstat (limited to 'packages/taler-wallet-core/src/deposits.ts')
-rw-r--r-- | packages/taler-wallet-core/src/deposits.ts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/packages/taler-wallet-core/src/deposits.ts b/packages/taler-wallet-core/src/deposits.ts index 3abb614bd..68ebc9507 100644 --- a/packages/taler-wallet-core/src/deposits.ts +++ b/packages/taler-wallet-core/src/deposits.ts @@ -238,8 +238,8 @@ export class DepositTransactionContext implements TransactionContext { } async resumeTransaction(): Promise<void> { - const { wex: ws, depositGroupId, transactionId, taskId: retryTag } = this; - const transitionInfo = await ws.db.runReadWriteTx( + const { wex, depositGroupId, transactionId, taskId: retryTag } = this; + const transitionInfo = await wex.db.runReadWriteTx( ["depositGroups"], async (tx) => { const dg = await tx.depositGroups.get(depositGroupId); @@ -276,8 +276,8 @@ export class DepositTransactionContext implements TransactionContext { }; }, ); - notifyTransition(ws, transactionId, transitionInfo); - ws.taskScheduler.startShepherdTask(retryTag); + notifyTransition(wex, transactionId, transitionInfo); + wex.taskScheduler.startShepherdTask(retryTag); } async failTransaction(): Promise<void> { |