diff options
author | Florian Dold <florian@dold.me> | 2023-05-26 12:19:32 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2023-05-26 12:19:32 +0200 |
commit | cd8f76db61f4a1ab1a8a8a4d29b2f3e863b59854 (patch) | |
tree | 423ed7c6fc42ec5e05f655eb093b3b4bdc885996 /packages/taler-wallet-core/src/operations/recoup.ts | |
parent | 557dcec30db6573c5d11ca26432008ac6621642e (diff) | |
download | wallet-core-cd8f76db61f4a1ab1a8a8a4d29b2f3e863b59854.tar.gz wallet-core-cd8f76db61f4a1ab1a8a8a4d29b2f3e863b59854.tar.bz2 wallet-core-cd8f76db61f4a1ab1a8a8a4d29b2f3e863b59854.zip |
taler-util,wallet-core: implement TalerPreciseTimestamp
Fixes #7703
Diffstat (limited to 'packages/taler-wallet-core/src/operations/recoup.ts')
-rw-r--r-- | packages/taler-wallet-core/src/operations/recoup.ts | 5 |
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: [], }; |