diff options
author | Özgür Kesim <oec-taler@kesim.org> | 2022-02-17 12:23:06 +0100 |
---|---|---|
committer | Özgür Kesim <oec-taler@kesim.org> | 2022-02-18 00:30:19 +0100 |
commit | a78b3345fbf017b1cddfd09afb4b2c29287b0bba (patch) | |
tree | 45752022adc8b1661fb1662df40af4d58ab7d5f4 /src/lib/exchange_api_refresh_common.h | |
parent | 8bdf6ab19df70c16d335ecf82f2c3b2117eeb70e (diff) | |
download | exchange-a78b3345fbf017b1cddfd09afb4b2c29287b0bba.tar.xz |
[age restriction] progress 15/n - melt/refresh/reveal and recoup
Added age restriction support for
- melt/refresh/reveal
- recoup
However, tests are not yet implemented for those flows.
Also: minor fixes and refactoring.
Diffstat (limited to 'src/lib/exchange_api_refresh_common.h')
-rw-r--r-- | src/lib/exchange_api_refresh_common.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/exchange_api_refresh_common.h b/src/lib/exchange_api_refresh_common.h index b6926b51f..a3c3e2c02 100644 --- a/src/lib/exchange_api_refresh_common.h +++ b/src/lib/exchange_api_refresh_common.h @@ -53,10 +53,11 @@ struct MeltedCoin struct TALER_Amount original_value; /** - * The original age commitment hash. MUST be all zeroes, if no age + * The original age commitment and its hash. MUST be NULL if no age * commitment was set. */ - struct TALER_AgeCommitmentHash h_age_commitment; + struct TALER_AgeCommitment *age_commitment; + struct TALER_AgeCommitmentHash *h_age_commitment; /** * Timestamp indicating when coins of this denomination become invalid. |