diff options
Diffstat (limited to 'packages/taler-wallet-core/src/pay-peer-pull-debit.ts')
-rw-r--r-- | packages/taler-wallet-core/src/pay-peer-pull-debit.ts | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/packages/taler-wallet-core/src/pay-peer-pull-debit.ts b/packages/taler-wallet-core/src/pay-peer-pull-debit.ts index 828f68113..7348a30ce 100644 --- a/packages/taler-wallet-core/src/pay-peer-pull-debit.ts +++ b/packages/taler-wallet-core/src/pay-peer-pull-debit.ts @@ -300,9 +300,9 @@ export class PeerPullDebitTransactionContext implements TransactionContext { >, ) => Promise<TransitionResult>, ): Promise<void> { - const ws = this.wex; + const wex = this.wex; const extraStores = opts.extraStores ?? []; - const transitionInfo = await ws.db.runReadWriteTx( + const transitionInfo = await wex.db.runReadWriteTx( ["peerPullDebit", ...extraStores], async (tx) => { const pi = await tx.peerPullDebit.get(this.peerPullDebitId); @@ -325,9 +325,9 @@ export class PeerPullDebitTransactionContext implements TransactionContext { } }, ); - ws.taskScheduler.stopShepherdTask(this.taskId); - notifyTransition(ws, this.transactionId, transitionInfo); - ws.taskScheduler.startShepherdTask(this.taskId); + wex.taskScheduler.stopShepherdTask(this.taskId); + notifyTransition(wex, this.transactionId, transitionInfo); + wex.taskScheduler.startShepherdTask(this.taskId); } } |