[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.
- [taler-exchange] 77/124: finish kyc_start API, (continued)
- [taler-exchange] 77/124: finish kyc_start API, gnunet, 2024/09/17
- [taler-exchange] 41/124: work all over the place, gnunet, 2024/09/17
- [taler-exchange] 67/124: -fix FTBFS, gnunet, 2024/09/17
- [taler-exchange] 53/124: work on kyc-info endpoint, gnunet, 2024/09/17
- [taler-exchange] 32/124: work on taler-exchange-kyc-tester, gnunet, 2024/09/17
- [taler-exchange] 76/124: start on kyc_start API, gnunet, 2024/09/17
- [taler-exchange] 72/124: first draft for kyc-upload, gnunet, 2024/09/17
- [taler-exchange] 60/124: implement TALER_EXCHANGE_lookup_kyc_attributes, gnunet, 2024/09/17
- [taler-exchange] 118/124: -fix FTBFS, gnunet, 2024/09/17
- [taler-exchange] 95/124: -fix auditor insanity, gnunet, 2024/09/17
- [taler-exchange] 119/124: add new ECs,
gnunet <=
- [taler-exchange] 91/124: implement kycauth_in_insert, gnunet, 2024/09/17
- [taler-exchange] 116/124: move TALER_JSON_ symbols into libtalerjson where they belong, gnunet, 2024/09/17
- [taler-exchange] 109/124: -diagnostic notes, gnunet, 2024/09/17
- [taler-exchange] 122/124: fix age restriction FTBFS, gnunet, 2024/09/17
- [taler-exchange] 102/124: introduce default check, gnunet, 2024/09/17
- [taler-exchange] 82/124: enable kyc-start endpoint, gnunet, 2024/09/17
- [taler-exchange] 61/124: work on more GET handlers, gnunet, 2024/09/17
- [taler-exchange] 36/124: store provider_name, instead of provider_section, gnunet, 2024/09/17
- [taler-exchange] 28/124: -add kyc data back for lookup_transfer_by_deposit, gnunet, 2024/09/17
- [taler-exchange] 59/124: -implement GET "/aml/$PUB/attributes/$H_PAYTO", gnunet, 2024/09/17