summaryrefslogtreecommitdiff
path: root/src/lib/exchange_api_lookup_aml_decision.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2023-02-03 14:06:17 +0100
committerChristian Grothoff <christian@grothoff.org>2023-02-03 14:06:17 +0100
commitc3243aa39f924921e8bf52fe6290e4d738d6a20e (patch)
tree52aea4695d4dda6a32392fa9c62136ca7bf02377 /src/lib/exchange_api_lookup_aml_decision.c
parentf6877449eb6aa994df6cc1a125f983ece1f6ad39 (diff)
downloadexchange-c3243aa39f924921e8bf52fe6290e4d738d6a20e.tar.gz
exchange-c3243aa39f924921e8bf52fe6290e4d738d6a20e.tar.bz2
exchange-c3243aa39f924921e8bf52fe6290e4d738d6a20e.zip
implement testing_api_cmd_check_aml_decision
Diffstat (limited to 'src/lib/exchange_api_lookup_aml_decision.c')
-rw-r--r--src/lib/exchange_api_lookup_aml_decision.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/exchange_api_lookup_aml_decision.c b/src/lib/exchange_api_lookup_aml_decision.c
index 31c772a56..409a35c08 100644
--- a/src/lib/exchange_api_lookup_aml_decision.c
+++ b/src/lib/exchange_api_lookup_aml_decision.c
@@ -86,8 +86,12 @@ parse_aml_history (const json_t *aml_history,
&aml->decision_time),
GNUNET_JSON_spec_string ("justification",
&aml->justification),
+ TALER_JSON_spec_amount_any ("new_threshold",
+ &aml->new_threshold),
GNUNET_JSON_spec_uint32 ("new_state",
&state32),
+ GNUNET_JSON_spec_fixed_auto ("decider_pub",
+ &aml->decider_pub),
GNUNET_JSON_spec_end ()
};