commit dd1a7d54d17e1dd9184553d25d2ee0effbc67c10
parent a5d62016f32ab1456db01a54e58d0183aedbf33e
Author: Christian Grothoff <christian@grothoff.org>
Date: Mon, 29 Jun 2026 20:38:52 +0200
fix another scope restore bug
Diffstat:
3 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/src/exchange/taler-exchange-httpd_common_kyc.c b/src/exchange/taler-exchange-httpd_common_kyc.c
@@ -1591,6 +1591,7 @@ legitimization_check_run (
legi_fail (lch,
TALER_EC_GENERIC_DB_START_FAILED,
"legi-check-run-start-precheck");
+ GNUNET_async_scope_restore (&old_scope);
return;
}
{
diff --git a/src/exchange/taler-exchange-httpd_get-kyc-proof-PROVIDER_NAME.c b/src/exchange/taler-exchange-httpd_get-kyc-proof-PROVIDER_NAME.c
@@ -352,6 +352,8 @@ proof_cb (
GNUNET_log (GNUNET_ERROR_TYPE_INFO,
"KYC process #%llu succeeded with KYC provider\n",
(unsigned long long) kpc->process_row);
+ GNUNET_assert (json_is_string (json_object_get (attributes,
+ "FORM_ID")));
qs = TEH_kyc_store_attributes (
kpc->process_row,
&kpc->h_payto,
diff --git a/src/exchange/taler-exchange-httpd_kyc-webhook.c b/src/exchange/taler-exchange-httpd_kyc-webhook.c
@@ -236,9 +236,12 @@ webhook_finished_cb (
kwh->wh = NULL;
kwh->webhook_response = response;
kwh->webhook_response_code = http_status;
+
switch (status)
{
case TALER_KYCLOGIC_STATUS_SUCCESS:
+ GNUNET_assert (json_is_string (json_object_get (attributes,
+ "FORM_ID")));
qs = TEH_kyc_store_attributes (
process_row,
account_id,