diff options
author | Florian Dold <florian@dold.me> | 2021-06-11 11:15:08 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2021-06-11 11:15:08 +0200 |
commit | e77510106fdcb0448af809fd6c928f1ff80b6d15 (patch) | |
tree | 7aeb34586b4ae86d578090da296de0050e723328 /packages/taler-wallet-core/src/operations/withdraw.ts | |
parent | 8ad36d89f55783c34043ee9ef37759cd94bcec7c (diff) | |
download | wallet-core-e77510106fdcb0448af809fd6c928f1ff80b6d15.tar.xz |
simplify retry timeout handling
Diffstat (limited to 'packages/taler-wallet-core/src/operations/withdraw.ts')
-rw-r--r-- | packages/taler-wallet-core/src/operations/withdraw.ts | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |