aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2024-10-30 14:08:47 +0100
committerFlorian Dold <florian@dold.me>2024-10-30 14:08:47 +0100
commit9075747139b57779f86c260458c06371229b1df7 (patch)
treedfc7f32b9bcdec4892c7476996bcba238d9dcc02
parent2f1850a558ccaa0b004c675dfc448c90d9d83c1c (diff)
do not store attributes for instant measure
-rw-r--r--src/exchange/taler-exchange-httpd_common_kyc.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/exchange/taler-exchange-httpd_common_kyc.c b/src/exchange/taler-exchange-httpd_common_kyc.c
index 05d1ffc8c..9e38c12f6 100644
--- a/src/exchange/taler-exchange-httpd_common_kyc.c
+++ b/src/exchange/taler-exchange-httpd_common_kyc.c
@@ -265,6 +265,15 @@ kyc_aml_finished (
GNUNET_async_scope_restore (&old_scope);
return;
}
+
+ if (0 == strcasecmp (kat->provider_name, "SKIP"))
+ {
+ /* Instant measure, means we don't have a legi id */
+ goto RETURN_RESULT;
+ }
+
+ GNUNET_assert (0 != kat->provider_legitimization_id);
+
{
const char *birthdate;