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/backup/import.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/backup/import.ts')
-rw-r--r-- | packages/taler-wallet-core/src/operations/backup/import.ts | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/packages/taler-wallet-core/src/operations/backup/import.ts b/packages/taler-wallet-core/src/operations/backup/import.ts index 5375a58bb..6d78b2be0 100644 --- a/packages/taler-wallet-core/src/operations/backup/import.ts +++ b/packages/taler-wallet-core/src/operations/backup/import.ts @@ -35,6 +35,7 @@ import { PayCoinSelection, RefreshReason, TalerProtocolTimestamp, + TalerPreciseTimestamp, WalletBackupContentV1, WireInfo, } from "@gnu-taler/taler-util"; @@ -349,8 +350,8 @@ export async function importBackup( }, permanent: true, lastUpdate: undefined, - nextUpdate: TalerProtocolTimestamp.now(), - nextRefreshCheck: TalerProtocolTimestamp.now(), + nextUpdate: TalerPreciseTimestamp.now(), + nextRefreshCheck: TalerPreciseTimestamp.now(), lastKeysEtag: undefined, lastWireEtag: undefined, }); |