commit 4aebfafc1a3a2f452c2d44824fee8f7eacae13d5 parent c586c1589b5656bac6de9ae70491d1be146cf603 Author: Christian Grothoff <christian@grothoff.org> Date: Thu, 22 Aug 2024 18:09:18 +0200 -do not touch dead table Diffstat:
| M | src/exchangedb/exchange_do_insert_kyc_attributes.sql | | | 11 | ----------- |
1 file changed, 0 insertions(+), 11 deletions(-)
diff --git a/src/exchangedb/exchange_do_insert_kyc_attributes.sql b/src/exchangedb/exchange_do_insert_kyc_attributes.sql @@ -115,17 +115,6 @@ UPDATE reserves ((current_balance).val > 0 ) ) AND (expiration_date > in_collection_time_ts); -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