From 5bf90c3505130bb92d518e8ae489d55095cb1cf3 Mon Sep 17 00:00:00 2001 From: Özgür Kesim Date: Sun, 23 Jul 2023 21:18:32 +0200 Subject: kyc logic with birthdate setting test added 1. Added age-requirement check in withdraw-handler (like in batch-withdraw) 2. In test_exchange_api_age_restriction: - kyc-oauth2 started, with static birthdate in answers - withdraw triggers kyc - second withdraw fails due to age restriction requirements --- src/kyclogic/plugin_kyclogic_oauth2.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/kyclogic') diff --git a/src/kyclogic/plugin_kyclogic_oauth2.c b/src/kyclogic/plugin_kyclogic_oauth2.c index babbf4acd..c9e5d8dcf 100644 --- a/src/kyclogic/plugin_kyclogic_oauth2.c +++ b/src/kyclogic/plugin_kyclogic_oauth2.c @@ -922,9 +922,6 @@ data2attributes (const struct TALER_KYCLOGIC_ProviderDetails *pd, JSON_INDENT (2)); return NULL; } - GNUNET_log (GNUNET_ERROR_TYPE_INFO, - "XXXXXXXX plugin_kyc_logic SETTING ATTERIBUTES TO\n\t%s\n", - json_dumps (data, JSON_INDENT (2))); ret = json_loadb (attr_data, attr_size, JSON_REJECT_DUPLICATES, -- cgit v1.2.3