diff options
author | Florian Dold <florian@dold.me> | 2024-02-27 15:36:33 +0100 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2024-02-27 15:36:33 +0100 |
commit | 7e5827eb4fbde75e109d68393145151901c7a8ea (patch) | |
tree | 852f39d499b96c2009459fdacf3185bb61f0dfbf /packages/taler-wallet-core/src/pay-merchant.ts | |
parent | f78d7dc613946b0316a559aa0161dd02b056b05d (diff) | |
download | wallet-core-7e5827eb4fbde75e109d68393145151901c7a8ea.tar.gz wallet-core-7e5827eb4fbde75e109d68393145151901c7a8ea.tar.bz2 wallet-core-7e5827eb4fbde75e109d68393145151901c7a8ea.zip |
-move state into shepherd
Diffstat (limited to 'packages/taler-wallet-core/src/pay-merchant.ts')
-rw-r--r-- | packages/taler-wallet-core/src/pay-merchant.ts | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/packages/taler-wallet-core/src/pay-merchant.ts b/packages/taler-wallet-core/src/pay-merchant.ts index 332660ad5..73dc59ba2 100644 --- a/packages/taler-wallet-core/src/pay-merchant.ts +++ b/packages/taler-wallet-core/src/pay-merchant.ts @@ -1732,8 +1732,7 @@ async function waitPaymentResult( ): Promise<ConfirmPayResult> { const ctx = new PayMerchantTransactionContext(ws, proposalId); - ws.ensureTaskLoopRunning(); - + ws.taskScheduler.ensureRunning(); ws.taskScheduler.startShepherdTask(ctx.taskId); // FIXME: Clean up using the new JS "using" / Symbol.dispose syntax. |