aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-wallet-core/src/util/retries.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/taler-wallet-core/src/util/retries.ts')
-rw-r--r--packages/taler-wallet-core/src/util/retries.ts5
1 files changed, 3 insertions, 2 deletions
diff --git a/packages/taler-wallet-core/src/util/retries.ts b/packages/taler-wallet-core/src/util/retries.ts
index 54bb0b2ee..a7f4cd281 100644
--- a/packages/taler-wallet-core/src/util/retries.ts
+++ b/packages/taler-wallet-core/src/util/retries.ts
@@ -81,10 +81,11 @@ export function initRetryInfo(
retryCounter: 0,
};
}
+ const now = getTimestampNow();
const info = {
- firstTry: getTimestampNow(),
+ firstTry: now,
active: true,
- nextRetry: { t_ms: 0 },
+ nextRetry: now,
retryCounter: 0,
};
updateRetryInfoTimeout(info, p);