diff options
author | Florian Dold <florian@dold.me> | 2024-03-07 23:38:15 +0100 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2024-03-07 23:38:15 +0100 |
commit | a63dd3900ab4b5cff6c2d571bae3a85847aa803f (patch) | |
tree | d0b5853c672d79180e335cb238585778d9c43769 /packages/taler-wallet-core/src/backup/index.ts | |
parent | db97953bdb424c9847b39a27502f67315a266220 (diff) | |
download | wallet-core-a63dd3900ab4b5cff6c2d571bae3a85847aa803f.tar.xz |
remove deprecated function, remove outdated FIXMEs
Diffstat (limited to 'packages/taler-wallet-core/src/backup/index.ts')
-rw-r--r-- | packages/taler-wallet-core/src/backup/index.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/taler-wallet-core/src/backup/index.ts b/packages/taler-wallet-core/src/backup/index.ts index 04c53526d..c32ed8b8c 100644 --- a/packages/taler-wallet-core/src/backup/index.ts +++ b/packages/taler-wallet-core/src/backup/index.ts @@ -29,6 +29,7 @@ import { AttentionType, BackupRecovery, Codec, + Duration, EddsaKeyPair, HttpStatusCode, Logger, @@ -55,7 +56,6 @@ import { codecForSyncTermsOfServiceResponse, codecOptional, decodeCrock, - durationFromSpec, eddsaGetPublic, encodeCrock, getRandomBytes, @@ -173,7 +173,7 @@ function getNextBackupTimestamp(): TalerPreciseTimestamp { return AbsoluteTime.toPreciseTimestamp( AbsoluteTime.addDuration( AbsoluteTime.now(), - durationFromSpec({ minutes: 5 }), + Duration.fromSpec({ minutes: 5 }), ), ); } |