exchange

Base system with REST service to issue digital coins, run by the payment service provider
Log | Files | Refs | Submodules | README | LICENSE

commit 567b8708310786640caffb69847039e06dd5f37e
parent 02485889686a4bc36fda70f46e8ac23159b223fd
Author: Florian Dold <florian@dold.me>
Date:   Fri,  8 Nov 2024 00:10:58 +0100

-re-add attributes

Diffstat:
Msrc/exchange/taler-exchange-httpd_common_kyc.c | 1+
Msrc/exchangedb/pg_lookup_active_legitimization.c | 4++--
2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/exchange/taler-exchange-httpd_common_kyc.c b/src/exchange/taler-exchange-httpd_common_kyc.c @@ -523,6 +523,7 @@ TEH_kyc_run_measure_for_attributes ( kat->cb_cls = cb_cls; kat->aml_history = json_array (); kat->kyc_history = json_array (); + kat->attributes = json_incref ((json_t*) new_attributes); qs = TEH_plugin->lookup_active_legitimization ( TEH_plugin->cls, diff --git a/src/exchangedb/pg_lookup_active_legitimization.c b/src/exchangedb/pg_lookup_active_legitimization.c @@ -47,7 +47,7 @@ TEH_PG_lookup_active_legitimization ( "measure_index", measure_index), GNUNET_PQ_result_spec_string ( - "provider_section", + "provider_name", provider_name), GNUNET_PQ_result_spec_end }; @@ -57,7 +57,7 @@ TEH_PG_lookup_active_legitimization ( "SELECT " " lm.jmeasures" ",lp.measure_index" - ",lp.provider_section" + ",lp.provider_name" " FROM legitimization_processes lp" " JOIN legitimization_measures lm" " USING (legitimization_measure_serial_id)"