aboutsummaryrefslogtreecommitdiff
path: root/src/lib/exchange_api_add_aml_decision.c
diff options
context:
space:
mode:
authorChristian Grothoff <grothoff@gnunet.org>2023-01-27 10:12:08 +0100
committerChristian Grothoff <grothoff@gnunet.org>2023-01-27 10:12:08 +0100
commit7e8e2f43178139b35f726dd0584ef629e1853af8 (patch)
tree080cc46d4bc4a62493c42d3132df7d539b15c4bb /src/lib/exchange_api_add_aml_decision.c
parentf199b45e52e0cc66b75c4fc7243a11c06cf6e058 (diff)
parent10cf3b3b65c89b3304a4d4f40c4b1a7eb5e47d14 (diff)
downloadexchange-7e8e2f43178139b35f726dd0584ef629e1853af8.tar.xz
Merge branch 'master' of git+ssh://git.taler.net/exchange
Diffstat (limited to 'src/lib/exchange_api_add_aml_decision.c')
-rw-r--r--src/lib/exchange_api_add_aml_decision.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/lib/exchange_api_add_aml_decision.c b/src/lib/exchange_api_add_aml_decision.c
index 34c984a75..0a1b70cdf 100644
--- a/src/lib/exchange_api_add_aml_decision.c
+++ b/src/lib/exchange_api_add_aml_decision.c
@@ -136,7 +136,7 @@ TALER_EXCHANGE_add_aml_decision (
TALER_EXCHANGE_AddAmlDecisionCallback cb,
void *cb_cls)
{
- struct TALER_AmlOfficerPrivateKeyP officer_pub;
+ struct TALER_AmlOfficerPublicKeyP officer_pub;
struct TALER_AmlOfficerSignatureP officer_sig;
struct TALER_EXCHANGE_AddAmlDecision *wh;
CURL *eh;
@@ -146,6 +146,7 @@ TALER_EXCHANGE_add_aml_decision (
&officer_pub.eddsa_pub);
TALER_officer_aml_decision_sign (justification,
decision_time,
+ new_threshold,
h_payto,
new_state,
officer_priv,
@@ -187,8 +188,8 @@ TALER_EXCHANGE_add_aml_decision (
&officer_sig),
GNUNET_JSON_pack_data_auto ("h_payto",
h_payto),
- GNUNET_JSON_pack_data_uint64 ("state",
- (uint32_t) new_state),
+ GNUNET_JSON_pack_uint64 ("state",
+ (uint32_t) new_state),
TALER_JSON_pack_amount ("new_threshold",
new_threshold),
GNUNET_JSON_pack_timestamp ("decision_time",