summaryrefslogtreecommitdiff
path: root/packages/taler-wallet-core/src/pay-merchant.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2024-02-27 15:36:33 +0100
committerFlorian Dold <florian@dold.me>2024-02-27 15:36:33 +0100
commit7e5827eb4fbde75e109d68393145151901c7a8ea (patch)
tree852f39d499b96c2009459fdacf3185bb61f0dfbf /packages/taler-wallet-core/src/pay-merchant.ts
parentf78d7dc613946b0316a559aa0161dd02b056b05d (diff)
downloadwallet-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.ts3
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.