commit 57e7b57f7dae7a203d7221e224f5a4c918431e11
parent 8ec6f1eaded81a62a84a7e7a9b05cd3127b6a9fc
Author: Christian Grothoff <christian@grothoff.org>
Date: Sun, 25 Aug 2024 10:34:10 +0200
justification is optional
Diffstat:
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/lib/exchange_api_lookup_aml_decisions.c b/src/lib/exchange_api_lookup_aml_decisions.c
@@ -287,8 +287,10 @@ parse_aml_decisions (
&decision->h_payto),
GNUNET_JSON_spec_uint64 ("rowid",
&decision->rowid),
- GNUNET_JSON_spec_string ("justification",
- &decision->justification),
+ GNUNET_JSON_spec_mark_optional (
+ GNUNET_JSON_spec_string ("justification",
+ &decision->justification),
+ NULL),
GNUNET_JSON_spec_timestamp ("decision_time",
&decision->decision_time),
GNUNET_JSON_spec_mark_optional (