commit 758fdf14cb081404adc3cf4bf5bb61730dbffefe
parent 0b393b9fbc3a2e2f94351565e33ece311a1f9d14
Author: Sebastian <sebasjm@gmail.com>
Date: Wed, 23 Oct 2024 11:55:07 -0300
AmlOutcome expect context field to be an object, not an array https://bugs.gnunet.org/view.php?id=9154#c23572
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/kyclogic/kyclogic_api.c b/src/kyclogic/kyclogic_api.c
@@ -663,8 +663,8 @@ TALER_KYCLOGIC_rules_parse (const json_t *jlrs)
GNUNET_JSON_spec_string ("prog_name",
&prog_name),
GNUNET_JSON_spec_mark_optional (
- GNUNET_JSON_spec_array_const ("context",
- &context),
+ GNUNET_JSON_spec_object_const ("context",
+ &context),
NULL),
GNUNET_JSON_spec_mark_optional (
GNUNET_JSON_spec_bool ("voluntary",