commit 50040ce24fd561e3f1bcaf9ab970b4d06a93be90
parent 4aebfafc1a3a2f452c2d44824fee8f7eacae13d5
Author: Christian Grothoff <christian@grothoff.org>
Date: Thu, 22 Aug 2024 18:09:49 +0200
-do not touch dead table
Diffstat:
1 file changed, 0 insertions(+), 12 deletions(-)
diff --git a/src/exchangedb/exchange_do_insert_programmatic_legitimization_outcome.sql b/src/exchangedb/exchange_do_insert_programmatic_legitimization_outcome.sql
@@ -154,18 +154,6 @@ INSERT INTO kyc_alerts
(in_h_payto,1)
ON CONFLICT DO NOTHING;
-IF in_to_investigate
-THEN
- INSERT INTO aml_status
- (h_payto
- ,status)
- VALUES
- (in_h_payto
- ,1)
- ON CONFLICT (h_payto) DO
- UPDATE SET status=EXCLUDED.status | 1;
-END IF;
-
FOR i IN 1..COALESCE(array_length(ina_events,1),0)
LOOP