summaryrefslogtreecommitdiff
path: root/src/exchange
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-08-14 19:10:19 +0200
committerChristian Grothoff <christian@grothoff.org>2022-08-14 19:10:19 +0200
commit1a3793cb1c5e94d2d900835102ee5929a229986c (patch)
tree12500af1ae43ce2396eb2caa11a9c8c86a87f063 /src/exchange
parentf5b99b5282e50bfaf744941d22bb5766cec76cb9 (diff)
downloadexchange-1a3793cb1c5e94d2d900835102ee5929a229986c.tar.gz
exchange-1a3793cb1c5e94d2d900835102ee5929a229986c.tar.bz2
exchange-1a3793cb1c5e94d2d900835102ee5929a229986c.zip
-regenerate DBs
Diffstat (limited to 'src/exchange')
-rw-r--r--src/exchange/taler-exchange-httpd_batch-withdraw.c2
-rw-r--r--src/exchange/taler-exchange-httpd_deposits_get.c4
-rw-r--r--src/exchange/taler-exchange-httpd_kyc-check.h2
-rw-r--r--src/exchange/taler-exchange-httpd_kyc-proof.h2
-rw-r--r--src/exchange/taler-exchange-httpd_kyc-webhook.c2
-rw-r--r--src/exchange/taler-exchange-httpd_kyc-webhook.h4
-rw-r--r--src/exchange/taler-exchange-httpd_purses_merge.c2
-rw-r--r--src/exchange/taler-exchange-httpd_reserves_purse.c2
-rw-r--r--src/exchange/taler-exchange-httpd_responses.c2
-rw-r--r--src/exchange/taler-exchange-httpd_withdraw.c2
10 files changed, 12 insertions, 12 deletions
diff --git a/src/exchange/taler-exchange-httpd_batch-withdraw.c b/src/exchange/taler-exchange-httpd_batch-withdraw.c
index 635a968d3..79e6affeb 100644
--- a/src/exchange/taler-exchange-httpd_batch-withdraw.c
+++ b/src/exchange/taler-exchange-httpd_batch-withdraw.c
@@ -209,7 +209,7 @@ batch_withdraw_transaction (void *cls,
TEH_plugin->cls,
kyc_required,
&wc->h_payto,
- &wc->kyc.payment_target_uuid);
+ &wc->kyc.legitimization_uuid);
}
wc->kyc.ok = true;
qs = TEH_plugin->do_batch_withdraw (TEH_plugin->cls,
diff --git a/src/exchange/taler-exchange-httpd_deposits_get.c b/src/exchange/taler-exchange-httpd_deposits_get.c
index 682cb6ecd..79c0b16f8 100644
--- a/src/exchange/taler-exchange-httpd_deposits_get.c
+++ b/src/exchange/taler-exchange-httpd_deposits_get.c
@@ -252,11 +252,11 @@ handle_track_transaction_request (
connection,
MHD_HTTP_ACCEPTED,
GNUNET_JSON_pack_allow_null (
- (0 == ctx->kyc.payment_target_uuid)
+ (0 == ctx->kyc.legitimization_uuid)
? GNUNET_JSON_pack_string ("legitimization_uuid",
NULL)
: GNUNET_JSON_pack_uint64 ("legitimization_uuid",
- ctx->kyc.payment_target_uuid)),
+ ctx->kyc.legitimization_uuid)),
GNUNET_JSON_pack_bool ("kyc_ok",
ctx->kyc.ok),
GNUNET_JSON_pack_timestamp ("execution_time",
diff --git a/src/exchange/taler-exchange-httpd_kyc-check.h b/src/exchange/taler-exchange-httpd_kyc-check.h
index b6434b601..f1f2c9e7d 100644
--- a/src/exchange/taler-exchange-httpd_kyc-check.h
+++ b/src/exchange/taler-exchange-httpd_kyc-check.h
@@ -30,7 +30,7 @@
* status of the given account and returns it.
*
* @param rc details about the request to handle
- * @param args one argument with the payment_target_uuid
+ * @param args one argument with the legitimization_uuid
* @return MHD result code
*/
MHD_RESULT
diff --git a/src/exchange/taler-exchange-httpd_kyc-proof.h b/src/exchange/taler-exchange-httpd_kyc-proof.h
index c075b2424..30e1cafb2 100644
--- a/src/exchange/taler-exchange-httpd_kyc-proof.h
+++ b/src/exchange/taler-exchange-httpd_kyc-proof.h
@@ -37,7 +37,7 @@ TEH_kyc_proof_cleanup (void);
* Handle a "/kyc-proof" request.
*
* @param rc request to handle
- * @param args one argument with the payment_target_uuid
+ * @param args one argument with the legitimization_uuid
* @return MHD result code
*/
MHD_RESULT
diff --git a/src/exchange/taler-exchange-httpd_kyc-webhook.c b/src/exchange/taler-exchange-httpd_kyc-webhook.c
index 6faa2556d..300335f1c 100644
--- a/src/exchange/taler-exchange-httpd_kyc-webhook.c
+++ b/src/exchange/taler-exchange-httpd_kyc-webhook.c
@@ -242,7 +242,7 @@ clean_kwh (struct TEH_RequestContext *rc)
* @param rc request to handle
* @param method HTTP request method used by the client
* @param root uploaded JSON body (can be NULL)
- * @param args one argument with the payment_target_uuid
+ * @param args one argument with the legitimization_uuid
* @return MHD result code
*/
static MHD_RESULT
diff --git a/src/exchange/taler-exchange-httpd_kyc-webhook.h b/src/exchange/taler-exchange-httpd_kyc-webhook.h
index 1f472a87e..ea3821897 100644
--- a/src/exchange/taler-exchange-httpd_kyc-webhook.h
+++ b/src/exchange/taler-exchange-httpd_kyc-webhook.h
@@ -37,7 +37,7 @@ TEH_kyc_webhook_cleanup (void);
* Handle a GET "/kyc-webhook" request.
*
* @param rc request to handle
- * @param args one argument with the payment_target_uuid
+ * @param args one argument with the legitimization_uuid
* @return MHD result code
*/
MHD_RESULT
@@ -51,7 +51,7 @@ TEH_handler_kyc_webhook_get (
*
* @param rc request to handle
* @param root uploaded JSON body
- * @param args one argument with the payment_target_uuid
+ * @param args one argument with the legitimization_uuid
* @return MHD result code
*/
MHD_RESULT
diff --git a/src/exchange/taler-exchange-httpd_purses_merge.c b/src/exchange/taler-exchange-httpd_purses_merge.c
index c1db6cf39..84c7402cd 100644
--- a/src/exchange/taler-exchange-httpd_purses_merge.c
+++ b/src/exchange/taler-exchange-httpd_purses_merge.c
@@ -292,7 +292,7 @@ merge_transaction (void *cls,
TEH_plugin->cls,
required,
&pcc->h_payto,
- &pcc->kyc.payment_target_uuid);
+ &pcc->kyc.legitimization_uuid);
}
pcc->kyc.ok = true;
qs = TEH_plugin->do_purse_merge (
diff --git a/src/exchange/taler-exchange-httpd_reserves_purse.c b/src/exchange/taler-exchange-httpd_reserves_purse.c
index 4730a5791..450651e4c 100644
--- a/src/exchange/taler-exchange-httpd_reserves_purse.c
+++ b/src/exchange/taler-exchange-httpd_reserves_purse.c
@@ -206,7 +206,7 @@ purse_transaction (void *cls,
TEH_plugin->cls,
required,
&rpc->h_payto,
- &rpc->kyc.payment_target_uuid);
+ &rpc->kyc.legitimization_uuid);
}
rpc->kyc.ok = true;
diff --git a/src/exchange/taler-exchange-httpd_responses.c b/src/exchange/taler-exchange-httpd_responses.c
index 0320a07b3..4b42b48b5 100644
--- a/src/exchange/taler-exchange-httpd_responses.c
+++ b/src/exchange/taler-exchange-httpd_responses.c
@@ -985,7 +985,7 @@ TEH_RESPONSE_reply_kyc_required (struct MHD_Connection *connection,
connection,
MHD_HTTP_UNAVAILABLE_FOR_LEGAL_REASONS,
GNUNET_JSON_pack_uint64 ("legitimization_uuid",
- kyc->payment_target_uuid));
+ kyc->legitimization_uuid));
}
diff --git a/src/exchange/taler-exchange-httpd_withdraw.c b/src/exchange/taler-exchange-httpd_withdraw.c
index 920147d4a..28175d8dd 100644
--- a/src/exchange/taler-exchange-httpd_withdraw.c
+++ b/src/exchange/taler-exchange-httpd_withdraw.c
@@ -182,7 +182,7 @@ withdraw_transaction (void *cls,
TEH_plugin->cls,
kyc_required,
&wc->h_payto,
- &wc->kyc.payment_target_uuid);
+ &wc->kyc.legitimization_uuid);
}
wc->kyc.ok = true;
bp = &wc->blinded_planchet;