From 7e5827eb4fbde75e109d68393145151901c7a8ea Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Tue, 27 Feb 2024 15:36:33 +0100 Subject: -move state into shepherd --- packages/taler-wallet-core/src/pay-merchant.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'packages/taler-wallet-core/src/pay-merchant.ts') 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 { 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. -- cgit v1.2.3