diff options
author | Christian Grothoff <christian@grothoff.org> | 2023-05-17 00:28:41 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2023-05-17 00:28:41 +0200 |
commit | f7dc35e59e1dca795d51d22e85479eab025644a7 (patch) | |
tree | 79fe2d9a9fdb4952e7d790bc513f2237cfb28126 /src/exchangedb/pg_select_similar_kyc_attributes.c | |
parent | 755955de28cefb9b61c181630a861488bd0751c9 (diff) | |
download | exchange-f7dc35e59e1dca795d51d22e85479eab025644a7.tar.xz |
implement logic to conditionally trigger AML review based on KYC attributes
Diffstat (limited to 'src/exchangedb/pg_select_similar_kyc_attributes.c')
-rw-r--r-- | src/exchangedb/pg_select_similar_kyc_attributes.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/exchangedb/pg_select_similar_kyc_attributes.c b/src/exchangedb/pg_select_similar_kyc_attributes.c index a07f2a147..342f9ef33 100644 --- a/src/exchangedb/pg_select_similar_kyc_attributes.c +++ b/src/exchangedb/pg_select_similar_kyc_attributes.c @@ -76,16 +76,11 @@ get_attributes_cb (void *cls, size_t enc_attributes_size; void *enc_attributes; char *provider; - char *birthdate = NULL; struct GNUNET_PQ_ResultSpec rs[] = { GNUNET_PQ_result_spec_auto_from_type ("h_payto", &h_payto), GNUNET_PQ_result_spec_string ("provider", &provider), - GNUNET_PQ_result_spec_allow_null ( - GNUNET_PQ_result_spec_string ("birthdate", - &birthdate), - NULL), GNUNET_PQ_result_spec_timestamp ("collection_time", &collection_time), GNUNET_PQ_result_spec_timestamp ("expiration_time", @@ -108,7 +103,6 @@ get_attributes_cb (void *cls, ctx->cb (ctx->cb_cls, &h_payto, provider, - birthdate, collection_time, expiration_time, enc_attributes_size, @@ -143,7 +137,6 @@ TEH_PG_select_similar_kyc_attributes ( "SELECT " " h_payto" ",provider" - ",birthdate" ",collection_time" ",expiration_time" ",encrypted_attributes" |