aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-util
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2022-09-05 13:26:09 +0200
committerFlorian Dold <florian@dold.me>2022-09-05 13:26:09 +0200
commit27fb2d297002d7440278933c15a894bfe1820629 (patch)
tree39633fa2300e3fb5826ea5b7c652427fc8a3e3d8 /packages/taler-util
parent300242637f20401fa9074e36eea5fa8788cc7202 (diff)
wallet-core: fix format of purse deposits
Diffstat (limited to 'packages/taler-util')
-rw-r--r--packages/taler-util/src/talerTypes.ts9
1 files changed, 6 insertions, 3 deletions
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