From cd8f76db61f4a1ab1a8a8a4d29b2f3e863b59854 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Fri, 26 May 2023 12:19:32 +0200 Subject: taler-util,wallet-core: implement TalerPreciseTimestamp Fixes #7703 --- packages/taler-wallet-cli/src/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'packages/taler-wallet-cli/src/index.ts') diff --git a/packages/taler-wallet-cli/src/index.ts b/packages/taler-wallet-cli/src/index.ts index 60db5abe8..a9dec8529 100644 --- a/packages/taler-wallet-cli/src/index.ts +++ b/packages/taler-wallet-cli/src/index.ts @@ -1112,7 +1112,7 @@ peerCli partialContractTerms: { amount: args.initiatePayPull.amount, summary: args.initiatePayPull.summary ?? "Invoice", - purse_expiration: AbsoluteTime.toTimestamp(purseExpiration), + purse_expiration: AbsoluteTime.toProtocolTimestamp(purseExpiration), }, }, ); @@ -1168,7 +1168,7 @@ peerCli partialContractTerms: { amount: args.payPush.amount, summary: args.payPush.summary ?? "Payment", - purse_expiration: AbsoluteTime.toTimestamp(purseExpiration), + purse_expiration: AbsoluteTime.toProtocolTimestamp(purseExpiration), }, }, ); -- cgit v1.2.3