From 71af4c539e341b6ee5c5f05695f834c48a93cbad Mon Sep 17 00:00:00 2001 From: Özgür Kesim Date: Fri, 18 Feb 2022 02:07:38 +0100 Subject: -reducing FIXMEs re: age restriction - deposit info now carries h_age_commitment - benchmark does age commitment, too --- src/exchange/taler-exchange-httpd_responses.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/exchange/taler-exchange-httpd_responses.c') 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)))) { -- cgit v1.2.3