From f3a4b00907410444055f47d4ff2074b44f981ad3 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Tue, 5 Apr 2022 17:15:50 +0200 Subject: adapt to latest GNUnet API: GNUNET_JSON_spec_mark_optional() changed --- src/exchange/taler-exchange-httpd_recoup.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/exchange/taler-exchange-httpd_recoup.c') diff --git a/src/exchange/taler-exchange-httpd_recoup.c b/src/exchange/taler-exchange-httpd_recoup.c index 101e7bffd..6bda8af9e 100644 --- a/src/exchange/taler-exchange-httpd_recoup.c +++ b/src/exchange/taler-exchange-httpd_recoup.c @@ -403,10 +403,12 @@ TEH_handler_recoup (struct MHD_Connection *connection, &coin_sig), GNUNET_JSON_spec_mark_optional ( GNUNET_JSON_spec_fixed_auto ("h_age_commitment", - &coin.h_age_commitment)), + &coin.h_age_commitment), + &coin.no_age_commitment), GNUNET_JSON_spec_mark_optional ( GNUNET_JSON_spec_fixed_auto ("cs_nonce", - &nonce)), + &nonce), + NULL), GNUNET_JSON_spec_end () }; -- cgit v1.2.3