summaryrefslogtreecommitdiff
path: root/src/exchange/taler-exchange-httpd_responses.c
diff options
context:
space:
mode:
authorÖzgür Kesim <oec-taler@kesim.org>2022-02-18 02:07:38 +0100
committerÖzgür Kesim <oec-taler@kesim.org>2022-02-18 02:07:38 +0100
commit71af4c539e341b6ee5c5f05695f834c48a93cbad (patch)
treeae8712d1403afc6f8db7f9fe25c4600e74ef0992 /src/exchange/taler-exchange-httpd_responses.c
parentf4f502d037a84a38db4bc21a1db06324a05d26aa (diff)
downloadexchange-71af4c539e341b6ee5c5f05695f834c48a93cbad.tar.gz
exchange-71af4c539e341b6ee5c5f05695f834c48a93cbad.tar.bz2
exchange-71af4c539e341b6ee5c5f05695f834c48a93cbad.zip
-reducing FIXMEs re: age restriction
- deposit info now carries h_age_commitment - benchmark does age commitment, too
Diffstat (limited to 'src/exchange/taler-exchange-httpd_responses.c')
-rw-r--r--src/exchange/taler-exchange-httpd_responses.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/exchange/taler-exchange-httpd_responses.c b/src/exchange/taler-exchange-httpd_responses.c
index 00f047172..ad10cc18f 100644
--- a/src/exchange/taler-exchange-httpd_responses.c
+++ b/src/exchange/taler-exchange-httpd_responses.c
@@ -73,7 +73,7 @@ TEH_RESPONSE_compile_transaction_history (
&deposit->deposit_fee,
&h_wire,
&deposit->h_contract_terms,
- NULL, /* h_age_commitment, FIXME-oec */
+ &deposit->h_age_commitment,
NULL /* h_extensions! */,
&deposit->h_denom_pub,
deposit->timestamp,
@@ -110,6 +110,9 @@ TEH_RESPONSE_compile_transaction_history (
&h_wire),
GNUNET_JSON_pack_data_auto ("h_denom_pub",
&deposit->h_denom_pub),
+ GNUNET_JSON_pack_allow_null (
+ GNUNET_JSON_pack_data_auto ("h_age_commitment",
+ &deposit->h_age_commitment)),
GNUNET_JSON_pack_data_auto ("coin_sig",
&deposit->csig))))
{