gnunet-svn
[Top][All Lists]
Advanced

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

[taler-exchange] 119/124: add new ECs


From: gnunet
Subject: [taler-exchange] 119/124: add new ECs
Date: Tue, 17 Sep 2024 21:28:51 +0200

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

grothoff pushed a commit to tag cg-aml-branch-compiles
in repository exchange.

commit 795ed3b60b097ae0d0f034bbcf6471d8b7c5f076
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Thu Jul 25 11:33:27 2024 +0200

    add new ECs
---
 contrib/gana                                   |  2 +-
 contrib/wallet-core                            |  2 +-
 src/exchange/taler-exchange-httpd_kyc-upload.c |  2 +-
 src/kyclogic/kyclogic_api.c                    | 12 ++++++------
 4 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/contrib/gana b/contrib/gana
index 78c4af6a7..891177878 160000
--- a/contrib/gana
+++ b/contrib/gana
@@ -1 +1 @@
-Subproject commit 78c4af6a73b666dce01c60e52650c06509f7a4a0
+Subproject commit 8911778784c09e2cdc2464e9146e3dfa655edd1f
diff --git a/contrib/wallet-core b/contrib/wallet-core
index 0dc7d2d02..6fa7e4358 160000
--- a/contrib/wallet-core
+++ b/contrib/wallet-core
@@ -1 +1 @@
-Subproject commit 0dc7d2d02b0c4691e00ffb9195b20f6d0277f029
+Subproject commit 6fa7e435858b4a22506588cb1142cdc9b142273d
diff --git a/src/exchange/taler-exchange-httpd_kyc-upload.c 
b/src/exchange/taler-exchange-httpd_kyc-upload.c
index c9f983ed7..d0ab48fed 100644
--- a/src/exchange/taler-exchange-httpd_kyc-upload.c
+++ b/src/exchange/taler-exchange-httpd_kyc-upload.c
@@ -529,7 +529,7 @@ TEH_handler_kyc_upload (struct TEH_RequestContext *rc,
       return TALER_MHD_reply_with_error (
         rc->connection,
         MHD_HTTP_INTERNAL_SERVER_ERROR,
-        -1, // FIXME
+        TALER_EC_EXCHANGE_KYC_GENERIC_AML_LOGIC_BUG,
         "TEH_kyc_finished");
     }
     GNUNET_CONTAINER_DLL_insert (uc_head,
diff --git a/src/kyclogic/kyclogic_api.c b/src/kyclogic/kyclogic_api.c
index cfc85cc97..adfc870fe 100644
--- a/src/kyclogic/kyclogic_api.c
+++ b/src/kyclogic/kyclogic_api.c
@@ -2913,7 +2913,7 @@ handle_aml_output (void *cls,
     apr->details.failure.error_message
       = "AML program returned non-zero exit code";
     apr->details.failure.ec
-      = -1; // FIXME!
+      = TALER_EC_EXCHANGE_KYC_AML_PROGRAM_FAILURE;
     goto ready;
   }
 
@@ -2955,7 +2955,7 @@ handle_aml_output (void *cls,
       apr->details.failure.error_message
         = err;
       apr->details.failure.ec
-        = -1; // FIXME!
+        = TALER_EC_EXCHANGE_KYC_AML_PROGRAM_MALFORMED_RESULT;
       goto ready;
     }
     else
@@ -2981,7 +2981,7 @@ handle_aml_output (void *cls,
           apr->details.failure.error_message
             = "events";
           apr->details.failure.ec
-            = -1; // FIXME!
+            = TALER_EC_EXCHANGE_KYC_AML_PROGRAM_MALFORMED_RESULT;
           goto ready;
         }
       }
@@ -3001,7 +3001,7 @@ handle_aml_output (void *cls,
           apr->details.failure.error_message
             = "new_rules";
           apr->details.failure.ec
-            = -1; // FIXME!
+            = TALER_EC_EXCHANGE_KYC_AML_PROGRAM_MALFORMED_RESULT;
           goto ready;
         }
         // FIXME: check 'lrs' is well-formed
@@ -3095,7 +3095,7 @@ TALER_KYCLOGIC_run_aml_program (
       aprh->apr.details.failure.error_message
         = rattr;
       aprh->apr.details.failure.ec
-        = -1; // FIXME
+        = TALER_EC_EXCHANGE_KYC_GENERIC_PROVIDER_INCOMPLETE_REPLY;
       aprh->async_cb
         = GNUNET_SCHEDULER_add_now (&async_return_task,
                                     aprh);
@@ -3119,7 +3119,7 @@ TALER_KYCLOGIC_run_aml_program (
       aprh->apr.details.failure.error_message
         = rctx;
       aprh->apr.details.failure.ec
-        = -1; // FIXME
+        = TALER_EC_EXCHANGE_KYC_GENERIC_PROVIDER_INCOMPLETE_CONTEXT;
       aprh->async_cb
         = GNUNET_SCHEDULER_add_now (&async_return_task,
                                     aprh);

-- 
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]