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/deposits.ts | |
parent | db97953bdb424c9847b39a27502f67315a266220 (diff) | |
download | wallet-core-a63dd3900ab4b5cff6c2d571bae3a85847aa803f.tar.gz wallet-core-a63dd3900ab4b5cff6c2d571bae3a85847aa803f.tar.bz2 wallet-core-a63dd3900ab4b5cff6c2d571bae3a85847aa803f.zip |
remove deprecated function, remove outdated FIXMEs
Diffstat (limited to 'packages/taler-wallet-core/src/deposits.ts')
-rw-r--r-- | packages/taler-wallet-core/src/deposits.ts | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/packages/taler-wallet-core/src/deposits.ts b/packages/taler-wallet-core/src/deposits.ts index 2ee452de7..93f70c2ce 100644 --- a/packages/taler-wallet-core/src/deposits.ts +++ b/packages/taler-wallet-core/src/deposits.ts @@ -62,7 +62,6 @@ import { codecForBatchDepositSuccess, codecForTackTransactionAccepted, codecForTackTransactionWired, - durationFromSpec, encodeCrock, getRandomBytes, hashTruncate32, @@ -1200,7 +1199,7 @@ export async function prepareDepositGroup( order_id: "", h_wire: "", pay_deadline: AbsoluteTime.toProtocolTimestamp( - AbsoluteTime.addDuration(now, durationFromSpec({ hours: 1 })), + AbsoluteTime.addDuration(now, Duration.fromSpec({ hours: 1 })), ), merchant: { name: "(wallet)", @@ -1320,7 +1319,7 @@ export async function createDepositGroup( order_id: "", h_wire: wireHash, pay_deadline: AbsoluteTime.toProtocolTimestamp( - AbsoluteTime.addDuration(now, durationFromSpec({ hours: 1 })), + AbsoluteTime.addDuration(now, Duration.fromSpec({ hours: 1 })), ), merchant: { name: "(wallet)", |