summaryrefslogtreecommitdiff
path: root/packages/taler-wallet-core/src/util/timer.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/taler-wallet-core/src/util/timer.ts')
-rw-r--r--packages/taler-wallet-core/src/util/timer.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/taler-wallet-core/src/util/timer.ts b/packages/taler-wallet-core/src/util/timer.ts
index 28680c1a4..8db024512 100644
--- a/packages/taler-wallet-core/src/util/timer.ts
+++ b/packages/taler-wallet-core/src/util/timer.ts
@@ -94,7 +94,7 @@ export const performanceNow: () => bigint = (() => {
return () => BigInt(Math.floor(performance.now() * 1000)) * BigInt(1000);
}
- return () => BigInt(new Date().getTime()) * 1000n * 1000n;
+ return () => BigInt(new Date().getTime()) * BigInt(1000) * BigInt(1000);
})();
const nullTimerHandle = {