aboutsummaryrefslogtreecommitdiff
path: root/src/exchangedb/pg_select_aml_process.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2023-02-02 14:55:56 +0100
committerChristian Grothoff <christian@grothoff.org>2023-02-02 14:55:56 +0100
commit3898054b1070db0c6be0fa9f6772637069aa34e2 (patch)
treecbe917775e0a44ef4e3140d9d605194f20136c39 /src/exchangedb/pg_select_aml_process.c
parenteab95d015412833c96568fb91d25aa23c53c45cd (diff)
downloadexchange-3898054b1070db0c6be0fa9f6772637069aa34e2.tar.xz
more work on KYC/AML decision inspection
Diffstat (limited to 'src/exchangedb/pg_select_aml_process.c')
-rw-r--r--src/exchangedb/pg_select_aml_process.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/exchangedb/pg_select_aml_process.c b/src/exchangedb/pg_select_aml_process.c
index c165e230b..6ee0dbeb9 100644
--- a/src/exchangedb/pg_select_aml_process.c
+++ b/src/exchangedb/pg_select_aml_process.c
@@ -145,7 +145,7 @@ TEH_PG_select_aml_process (
",status"
" FROM aml_status"
" WHERE aml_status_serial_id > $2"
- " AND $1 = status & $1"
+ " AND status = $1"
" ORDER BY aml_status_serial_id INC"
" LIMIT $3");
PREPARE (pg,