aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-wallet-core/src/operations/refund.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2021-06-11 11:15:08 +0200
committerFlorian Dold <florian@dold.me>2021-06-11 11:15:08 +0200
commite77510106fdcb0448af809fd6c928f1ff80b6d15 (patch)
tree7aeb34586b4ae86d578090da296de0050e723328 /packages/taler-wallet-core/src/operations/refund.ts
parent8ad36d89f55783c34043ee9ef37759cd94bcec7c (diff)
downloadwallet-core-e77510106fdcb0448af809fd6c928f1ff80b6d15.tar.xz
simplify retry timeout handling
Diffstat (limited to 'packages/taler-wallet-core/src/operations/refund.ts')
-rw-r--r--packages/taler-wallet-core/src/operations/refund.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/taler-wallet-core/src/operations/refund.ts b/packages/taler-wallet-core/src/operations/refund.ts
index ba0674f06..b3d368afa 100644
--- a/packages/taler-wallet-core/src/operations/refund.ts
+++ b/packages/taler-wallet-core/src/operations/refund.ts
@@ -589,7 +589,7 @@ async function resetPurchaseQueryRefundRetry(
}))
.runReadWrite(async (tx) => {
const x = await tx.purchases.get(proposalId);
- if (x && x.refundStatusRetryInfo.active) {
+ if (x) {
x.refundStatusRetryInfo = initRetryInfo();
await tx.purchases.put(x);
}