taler-typescript-core

Wallet core logic and WebUIs for various components
Log | Files | Refs | Submodules | README | LICENSE

commit f9fd5471809cd33f3b96eb84d4cdb2918db2919a
parent 9c14c275baaca83e9efa2fe30daa9bb0fe25d371
Author: Florian Dold <florian@dold.me>
Date:   Thu,  4 Jun 2026 11:58:00 +0200

wallet-core: kick off task after creating payment tx via preparePayV2

Diffstat:
Mpackages/taler-wallet-core/src/pay-merchant.ts | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git a/packages/taler-wallet-core/src/pay-merchant.ts b/packages/taler-wallet-core/src/pay-merchant.ts @@ -1517,6 +1517,11 @@ async function createOrReusePurchase( oldStId: 0, newStId: proposalRecord.purchaseStatus, }); + tx._util.scheduleOnCommit(() => { + wex.taskScheduler.resetTask(ctx.taskId).catch((e) => { + logger.error(safeStringifyException(e)); + }); + }); }); return {