From cd8f76db61f4a1ab1a8a8a4d29b2f3e863b59854 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Fri, 26 May 2023 12:19:32 +0200 Subject: taler-util,wallet-core: implement TalerPreciseTimestamp Fixes #7703 --- packages/taler-wallet-core/src/operations/recoup.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'packages/taler-wallet-core/src/operations/recoup.ts') diff --git a/packages/taler-wallet-core/src/operations/recoup.ts b/packages/taler-wallet-core/src/operations/recoup.ts index 982f3cf8c..1f36117ee 100644 --- a/packages/taler-wallet-core/src/operations/recoup.ts +++ b/packages/taler-wallet-core/src/operations/recoup.ts @@ -36,6 +36,7 @@ import { NotificationType, RefreshReason, TalerProtocolTimestamp, + TalerPreciseTimestamp, URL, } from "@gnu-taler/taler-util"; import { @@ -424,7 +425,7 @@ export async function processRecoupGroupHandler( if (!rg2) { return; } - rg2.timestampFinished = TalerProtocolTimestamp.now(); + rg2.timestampFinished = TalerPreciseTimestamp.now(); if (rg2.scheduleRefreshCoins.length > 0) { const refreshGroupId = await createRefreshGroup( ws, @@ -460,7 +461,7 @@ export async function createRecoupGroup( exchangeBaseUrl: exchangeBaseUrl, coinPubs: coinPubs, timestampFinished: undefined, - timestampStarted: TalerProtocolTimestamp.now(), + timestampStarted: TalerPreciseTimestamp.now(), recoupFinishedPerCoin: coinPubs.map(() => false), scheduleRefreshCoins: [], }; -- cgit v1.2.3