aboutsummaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2024-08-04 12:52:29 +0200
committerChristian Grothoff <christian@grothoff.org>2024-08-04 12:52:53 +0200
commit7292df436a0b6dd0a97951acfcaa6d16be3194bb (patch)
treedf3a08c891a4d136548cf2b321c7ce9655c1094f /src/lib
parent976589d69bb836957148506a35996f97640962a0 (diff)
downloadexchange-7292df436a0b6dd0a97951acfcaa6d16be3194bb.tar.xz
add missing argument
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/exchange_api_add_aml_decision.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/lib/exchange_api_add_aml_decision.c b/src/lib/exchange_api_add_aml_decision.c
index 74d7ed09c..1fee742b8 100644
--- a/src/lib/exchange_api_add_aml_decision.c
+++ b/src/lib/exchange_api_add_aml_decision.c
@@ -130,6 +130,7 @@ TALER_EXCHANGE_add_aml_decision (
const struct TALER_PaytoHashP *h_payto,
struct GNUNET_TIME_Timestamp decision_time,
const char *successor_measure,
+ const char *new_check,
struct GNUNET_TIME_Timestamp expiration_time,
unsigned int num_rules,
const struct TALER_EXCHANGE_AccountRule *rules,
@@ -215,14 +216,18 @@ TALER_EXCHANGE_add_aml_decision (
GNUNET_JSON_pack_allow_null (
GNUNET_JSON_pack_string ("successor_measure",
successor_measure)),
+ GNUNET_JSON_pack_allow_null (
+ GNUNET_JSON_pack_string ("new_check",
+ new_check)),
GNUNET_JSON_pack_array_steal ("rules",
jrules),
GNUNET_JSON_pack_object_steal ("custom_measures",
jmeasures)
);
- GNUNET_CRYPTO_eddsa_key_get_public (&officer_priv->eddsa_priv,
- &officer_pub.eddsa_pub);
+ GNUNET_CRYPTO_eddsa_key_get_public (
+ &officer_priv->eddsa_priv,
+ &officer_pub.eddsa_pub);
TALER_officer_aml_decision_sign (justification,
decision_time,
h_payto,