summaryrefslogtreecommitdiff
path: root/packages/taler-wallet-core/src/operations/pending.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/taler-wallet-core/src/operations/pending.ts')
-rw-r--r--packages/taler-wallet-core/src/operations/pending.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/taler-wallet-core/src/operations/pending.ts b/packages/taler-wallet-core/src/operations/pending.ts
index 6115f848b..120d316ce 100644
--- a/packages/taler-wallet-core/src/operations/pending.ts
+++ b/packages/taler-wallet-core/src/operations/pending.ts
@@ -47,6 +47,7 @@ import {
ExchangeEntryDbUpdateStatus,
RefreshOperationStatus,
DepositElementStatus,
+ timestampPreciseFromDb,
} from "../db.js";
import {
PendingOperationsResponse,
@@ -445,7 +446,7 @@ async function gatherBackupPending(
const retryRecord = await tx.operationRetries.get(opId);
if (bp.state.tag === BackupProviderStateTag.Ready) {
const timestampDue = AbsoluteTime.fromPreciseTimestamp(
- bp.state.nextBackupTimestamp,
+ timestampPreciseFromDb(bp.state.nextBackupTimestamp),
);
resp.pendingOperations.push({
type: PendingTaskType.Backup,