exchange

Base system with REST service to issue digital coins, run by the payment service provider
Log | Files | Refs | Submodules | README | LICENSE

commit ecdb2f903e08764288135f252ae3b6a44ed8e438
parent 81f1f4c80627eb28228be42cb051d60ce8bb9394
Author: Christian Grothoff <christian@grothoff.org>
Date:   Wed,  1 Apr 2026 17:15:27 +0200

bad_kyc_auth is optional

Diffstat:
Msrc/lib/exchange_api_post-batch-deposit.c | 8+++++---
1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/src/lib/exchange_api_post-batch-deposit.c b/src/lib/exchange_api_post-batch-deposit.c @@ -568,9 +568,11 @@ handle_deposit_finished (void *cls, GNUNET_JSON_spec_uint64 ( "requirement_row", &dr->details.unavailable_for_legal_reasons.requirement_row), - GNUNET_JSON_spec_bool ( - "bad_kyc_auth", - &dr->details.unavailable_for_legal_reasons.bad_kyc_auth), + GNUNET_JSON_spec_mark_optional ( + GNUNET_JSON_spec_bool ( + "bad_kyc_auth", + &dr->details.unavailable_for_legal_reasons.bad_kyc_auth), + NULL), GNUNET_JSON_spec_end () };