summaryrefslogtreecommitdiff
path: root/packages/taler-wallet-core/src/operations/recoup.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/taler-wallet-core/src/operations/recoup.ts')
-rw-r--r--packages/taler-wallet-core/src/operations/recoup.ts5
1 files changed, 3 insertions, 2 deletions
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: [],
};