summaryrefslogtreecommitdiff
path: root/src/exchange
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2023-06-23 11:41:52 +0200
committerChristian Grothoff <christian@grothoff.org>2023-06-23 11:41:52 +0200
commitd25dc8b0adb8fa606e8f97185984a623c52819cd (patch)
treed44d8c3f0c62544c653a7d299c029132913eb2c7 /src/exchange
parent720783b66a08a14624f30e8063daf64d25ce3e4c (diff)
downloadexchange-d25dc8b0adb8fa606e8f97185984a623c52819cd.tar.gz
exchange-d25dc8b0adb8fa606e8f97185984a623c52819cd.tar.bz2
exchange-d25dc8b0adb8fa606e8f97185984a623c52819cd.zip
fix #7870
Diffstat (limited to 'src/exchange')
-rw-r--r--src/exchange/taler-exchange-httpd_common_kyc.c4
-rw-r--r--src/exchange/taler-exchange-httpd_kyc-check.c3
-rw-r--r--src/exchange/taler-exchange-httpd_kyc-proof.c3
3 files changed, 9 insertions, 1 deletions
diff --git a/src/exchange/taler-exchange-httpd_common_kyc.c b/src/exchange/taler-exchange-httpd_common_kyc.c
index ef917a559..b6585ed58 100644
--- a/src/exchange/taler-exchange-httpd_common_kyc.c
+++ b/src/exchange/taler-exchange-httpd_common_kyc.c
@@ -147,6 +147,10 @@ kyc_aml_finished (void *cls,
ea,
0 != code);
GNUNET_free (ea);
+ GNUNET_log (GNUNET_ERROR_TYPE_INFO,
+ "Stored encrypted KYC process #%llu attributes: %d\n",
+ (unsigned long long) kat->process_row,
+ qs);
if (GNUNET_DB_STATUS_HARD_ERROR == qs)
{
GNUNET_break (0);
diff --git a/src/exchange/taler-exchange-httpd_kyc-check.c b/src/exchange/taler-exchange-httpd_kyc-check.c
index 0372573bb..4b78c071a 100644
--- a/src/exchange/taler-exchange-httpd_kyc-check.c
+++ b/src/exchange/taler-exchange-httpd_kyc-check.c
@@ -601,11 +601,12 @@ TEH_handler_kyc_check (
{
GNUNET_log (GNUNET_ERROR_TYPE_INFO,
"Suspending HTTP request on timeout (%s) now...\n",
- GNUNET_TIME_relative2s (GNUNET_TIME_absolute_get_duration (
+ GNUNET_TIME_relative2s (GNUNET_TIME_absolute_get_remaining (
kyp->timeout),
true));
GNUNET_assert (NULL != kyp->eh);
kyp->suspended = true;
+ kyp->section_name = NULL;
GNUNET_CONTAINER_DLL_insert (kyp_head,
kyp_tail,
kyp);
diff --git a/src/exchange/taler-exchange-httpd_kyc-proof.c b/src/exchange/taler-exchange-httpd_kyc-proof.c
index b3175bd28..a3eb5cb55 100644
--- a/src/exchange/taler-exchange-httpd_kyc-proof.c
+++ b/src/exchange/taler-exchange-httpd_kyc-proof.c
@@ -221,6 +221,9 @@ proof_cb (
&old_scope);
if (TALER_KYCLOGIC_STATUS_SUCCESS == status)
{
+ GNUNET_log (GNUNET_ERROR_TYPE_INFO,
+ "KYC process #%llu succeeded with KYC provider\n",
+ (unsigned long long) kpc->process_row);
kpc->kat = TEH_kyc_finished (&rc->async_scope_id,
kpc->process_row,
&kpc->h_payto,