From e77510106fdcb0448af809fd6c928f1ff80b6d15 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Fri, 11 Jun 2021 11:15:08 +0200 Subject: simplify retry timeout handling --- packages/taler-wallet-core/src/operations/withdraw.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages/taler-wallet-core/src/operations/withdraw.ts') diff --git a/packages/taler-wallet-core/src/operations/withdraw.ts b/packages/taler-wallet-core/src/operations/withdraw.ts index 1266a3b0f..9f5c225fc 100644 --- a/packages/taler-wallet-core/src/operations/withdraw.ts +++ b/packages/taler-wallet-core/src/operations/withdraw.ts @@ -790,7 +790,7 @@ async function resetWithdrawalGroupRetry( .mktx((x) => ({ withdrawalGroups: x.withdrawalGroups })) .runReadWrite(async (tx) => { const x = await tx.withdrawalGroups.get(withdrawalGroupId); - if (x && x.retryInfo.active) { + if (x) { x.retryInfo = initRetryInfo(); await tx.withdrawalGroups.put(x); } -- cgit v1.2.3