gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-exchange] 17/151: fix taler-exchange-kyc-tester FTBFS


From: gnunet
Subject: [taler-exchange] 17/151: fix taler-exchange-kyc-tester FTBFS
Date: Tue, 30 Jul 2024 23:36:27 +0200

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository exchange.

commit eadfb0bc33c99231d28e2a3ff226e68431c96063
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Sun May 5 14:23:31 2024 +0200

    fix taler-exchange-kyc-tester FTBFS
---
 src/kyclogic/taler-exchange-kyc-tester.c | 23 -----------------------
 1 file changed, 23 deletions(-)

diff --git a/src/kyclogic/taler-exchange-kyc-tester.c 
b/src/kyclogic/taler-exchange-kyc-tester.c
index c2efafd72..e942ff7a8 100644
--- a/src/kyclogic/taler-exchange-kyc-tester.c
+++ b/src/kyclogic/taler-exchange-kyc-tester.c
@@ -282,11 +282,6 @@ static int global_ret;
  */
 static char *requirements;
 
-/**
- * -i command-line flag.
- */
-static char *ut_s = "individual";
-
 /**
  * Handle for ongoing initiation operation.
  */
@@ -1474,21 +1469,9 @@ run (void *cls,
   if (NULL != requirements)
   {
     struct TALER_KYCLOGIC_ProviderDetails *pd;
-    enum TALER_KYCLOGIC_KycUserType ut;
 
-    if (GNUNET_OK !=
-        TALER_KYCLOGIC_kyc_user_type_from_string (ut_s,
-                                                  &ut))
-    {
-      GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
-                  "Invalid user type specified ('-i')\n");
-      global_ret = EXIT_INVALIDARGUMENT;
-      GNUNET_SCHEDULER_shutdown ();
-      return;
-    }
     if (GNUNET_OK !=
         TALER_KYCLOGIC_requirements_to_logic (requirements,
-                                              ut,
                                               &ih_logic,
                                               &pd,
                                               &provider_section_name))
@@ -1597,12 +1580,6 @@ main (int argc,
       "CHECKS",
       "initiate KYC check for the given list of (space-separated) checks",
       &requirements),
-    GNUNET_GETOPT_option_string (
-      'i',
-      "identify",
-      "USERTYPE",
-      "self-identify as USERTYPE 'business' or 'individual' (defaults to 
'individual')",
-      &requirements),
     GNUNET_GETOPT_option_string (
       'u',
       "user",

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]