diff options
author | Özgür Kesim <oec-taler@kesim.org> | 2023-07-23 15:57:37 +0200 |
---|---|---|
committer | Özgür Kesim <oec-taler@kesim.org> | 2023-07-23 15:57:37 +0200 |
commit | 5b39ac9d8f7cf8c8a446fd51061b2d3bbaa31173 (patch) | |
tree | c1b765e8d49a0f5fcea49a66d91cf2d032f0253b /src/exchangedb/pg_insert_kyc_requirement_process.c | |
parent | d189fccd790a36046e1191d7170f45feb3dfb122 (diff) | |
download | exchange-5b39ac9d8f7cf8c8a446fd51061b2d3bbaa31173.tar.xz |
[kyc] put reserve_pub into legitimization_requirements
Diffstat (limited to 'src/exchangedb/pg_insert_kyc_requirement_process.c')
-rw-r--r-- | src/exchangedb/pg_insert_kyc_requirement_process.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/exchangedb/pg_insert_kyc_requirement_process.c b/src/exchangedb/pg_insert_kyc_requirement_process.c index ddd765b99..97b82eff6 100644 --- a/src/exchangedb/pg_insert_kyc_requirement_process.c +++ b/src/exchangedb/pg_insert_kyc_requirement_process.c @@ -33,7 +33,6 @@ TEH_PG_insert_kyc_requirement_process ( const char *provider_section, const char *provider_account_id, const char *provider_legitimization_id, - const struct TALER_ReservePublicKeyP *reserve_pub, uint64_t *process_row) { struct PostgresClosure *pg = cls; @@ -46,9 +45,6 @@ TEH_PG_insert_kyc_requirement_process ( (NULL != provider_legitimization_id) ? GNUNET_PQ_query_param_string (provider_legitimization_id) : GNUNET_PQ_query_param_null (), - (NULL != reserve_pub) - ? GNUNET_PQ_query_param_auto_from_type (reserve_pub) - : GNUNET_PQ_query_param_null (), GNUNET_PQ_query_param_end }; struct GNUNET_PQ_ResultSpec rs[] = { @@ -65,14 +61,12 @@ TEH_PG_insert_kyc_requirement_process ( " ,provider_section" " ,provider_user_id" " ,provider_legitimization_id" - " ,reserve_pub" " ) VALUES " - " ($1, $2, $3, $4, $5)" + " ($1, $2, $3, $4)" " ON CONFLICT (h_payto,provider_section) " " DO UPDATE SET" " provider_user_id=$3" " ,provider_legitimization_id=$4" - " ,reserve_pub=$5" " RETURNING legitimization_process_serial_id"); return GNUNET_PQ_eval_prepared_singleton_select ( pg->conn, |