commit 9d857eb85ef0e0c723e876c6579779453e070ad8
parent aa35163a1efa8fcfcfcb988e7a87e47093c98c23
Author: Christian Grothoff <christian@grothoff.org>
Date: Sun, 5 Jan 2025 23:18:54 +0100
-fix FIXMEs
Diffstat:
2 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/src/exchange/taler-exchange-sanctionscheck.c b/src/exchange/taler-exchange-sanctionscheck.c
@@ -267,9 +267,8 @@ account_cb (void *cls,
struct Account *acc;
(void) cls;
- /* FIXME-#9053: GANA-ize the property key */
if (json_boolean_value (json_object_get (properties,
- "sanction-list-suppress")))
+ "SANCTION_LIST_SUPPRESS")))
{
GNUNET_log (GNUNET_ERROR_TYPE_INFO,
"Skipping %llu as suppressed by staff as false-positive\n",
diff --git a/src/kyclogic/kyclogic_sanctions.c b/src/kyclogic/kyclogic_sanctions.c
@@ -163,8 +163,7 @@ fail_hard (struct TALER_KYCLOGIC_SanctionRater *sr)
sr->ee_tail,
ee);
ee->cb (ee->cb_cls,
- /* FIXME-#9053: better EC? */
- TALER_EC_GENERIC_INTERNAL_INVARIANT_FAILURE,
+ TALER_EC_GENERIC_KYC_SANCTION_LIST_CHECK_FAILED,
NULL,
1.0,
0.0);