From 27fb2d297002d7440278933c15a894bfe1820629 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Mon, 5 Sep 2022 13:26:09 +0200 Subject: wallet-core: fix format of purse deposits --- packages/taler-util/src/talerTypes.ts | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'packages/taler-util') diff --git a/packages/taler-util/src/talerTypes.ts b/packages/taler-util/src/talerTypes.ts index 014631ad7..471c7e927 100644 --- a/packages/taler-util/src/talerTypes.ts +++ b/packages/taler-util/src/talerTypes.ts @@ -1813,11 +1813,14 @@ export interface PurseDeposit { ub_sig: UnblindedSignature; /** - * Age commitment hash for the coin, if the denomination is age-restricted. + * Age commitment for the coin, if the denomination is age-restricted. */ - h_age_commitment?: HashCodeString; + age_commitment?: string[]; - // FIXME-Oec: proof of age is missing. + /** + * Attestation for the minimum age, if the denomination is age-restricted. + */ + attest?: string; /** * Signature over TALER_PurseDepositSignaturePS -- cgit v1.2.3