commit 0166440551509ee67faffadc7740719fc064ab4c
parent 04f022bec738568e887fee41d3ecdc445649ff02
Author: Christian Grothoff <christian@grothoff.org>
Date: Mon, 29 Apr 2024 20:21:37 +0200
fix FTBFS of exchange_api_batch_withdraw2.c
Diffstat:
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/src/lib/exchange_api_batch_withdraw2.c b/src/lib/exchange_api_batch_withdraw2.c
@@ -234,9 +234,14 @@ handle_reserve_batch_withdraw_finished (void *cls,
GNUNET_JSON_spec_fixed_auto (
"h_payto",
&bwr.details.unavailable_for_legal_reasons.h_payto),
- GNUNET_JSON_spec_uint64 ("requirement_row",
- &bwr.details.unavailable_for_legal_reasons.
- kyc_requirement_id),
+ GNUNET_JSON_spec_mark_optional (
+ GNUNET_JSON_spec_fixed_auto (
+ "account_pub",
+ &bwr.details.unavailable_for_legal_reasons.account_pub),
+ NULL),
+ GNUNET_JSON_spec_uint64 (
+ "requirement_row",
+ &bwr.details.unavailable_for_legal_reasons.requirement_row),
GNUNET_JSON_spec_end ()
};