exchange

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

commit 7292df436a0b6dd0a97951acfcaa6d16be3194bb
parent 976589d69bb836957148506a35996f97640962a0
Author: Christian Grothoff <christian@grothoff.org>
Date:   Sun,  4 Aug 2024 12:52:29 +0200

add missing argument

Diffstat:
Msrc/include/taler_exchange_service.h | 3+++
Msrc/lib/exchange_api_add_aml_decision.c | 9+++++++--
2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/src/include/taler_exchange_service.h b/src/include/taler_exchange_service.h @@ -6313,6 +6313,8 @@ struct TALER_EXCHANGE_AccountRule * decision is about * @param decision_time when was the decision made * @param successor_measure measure to activate after @a expiration_time if no rule applied + * @param new_check new KYC check to provide to the user, + * NULL for none * @param expiration_time when do the new rules expire * @param num_rules length of the @a rules array * @param rules new rules for the account @@ -6333,6 +6335,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, diff --git 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,