aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-wallet-core/src/operations/refresh.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2023-08-30 15:54:56 +0200
committerFlorian Dold <florian@dold.me>2023-08-30 15:54:56 +0200
commitd19aef746c1e67deaccc7c8cefba008f2f0d46ca (patch)
tree26ee3734f6be8a418dc734761bdb48fc14dbafaf /packages/taler-wallet-core/src/operations/refresh.ts
parent88f7338d7c84ac2a774b483ccff25faf6ceeb879 (diff)
downloadwallet-core-d19aef746c1e67deaccc7c8cefba008f2f0d46ca.tar.xz
wallet-core: towards DD48
Diffstat (limited to 'packages/taler-wallet-core/src/operations/refresh.ts')
-rw-r--r--packages/taler-wallet-core/src/operations/refresh.ts10
1 files changed, 5 insertions, 5 deletions
diff --git a/packages/taler-wallet-core/src/operations/refresh.ts b/packages/taler-wallet-core/src/operations/refresh.ts
index 72d1a2725..fb356f0fc 100644
--- a/packages/taler-wallet-core/src/operations/refresh.ts
+++ b/packages/taler-wallet-core/src/operations/refresh.ts
@@ -1190,14 +1190,14 @@ export async function autoRefresh(
`created refresh group for auto-refresh (${res.refreshGroupId})`,
);
}
-// logger.trace(
-// `current wallet time: ${AbsoluteTime.toIsoString(AbsoluteTime.now())}`,
-// );
+ // logger.trace(
+ // `current wallet time: ${AbsoluteTime.toIsoString(AbsoluteTime.now())}`,
+ // );
logger.trace(
`next refresh check at ${AbsoluteTime.toIsoString(minCheckThreshold)}`,
);
- exchange.nextRefreshCheck =
- AbsoluteTime.toPreciseTimestamp(minCheckThreshold);
+ exchange.nextRefreshCheckStampMs =
+ AbsoluteTime.toStampMs(minCheckThreshold);
await tx.exchanges.put(exchange);
});
return TaskRunResult.finished();