aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-wallet-cli
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2023-05-26 12:19:32 +0200
committerFlorian Dold <florian@dold.me>2023-05-26 12:19:32 +0200
commitcd8f76db61f4a1ab1a8a8a4d29b2f3e863b59854 (patch)
tree423ed7c6fc42ec5e05f655eb093b3b4bdc885996 /packages/taler-wallet-cli
parent557dcec30db6573c5d11ca26432008ac6621642e (diff)
taler-util,wallet-core: implement TalerPreciseTimestamp
Fixes #7703
Diffstat (limited to 'packages/taler-wallet-cli')
-rw-r--r--packages/taler-wallet-cli/src/index.ts4
1 files changed, 2 insertions, 2 deletions
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),
},
},
);