exchange

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

commit c93d1d9df27f8f873bdd3c693558319175ebf631
parent 7d5e5978add17a6ba280d1e9998f1ee9f2cd4ede
Author: Christian Grothoff <christian@grothoff.org>
Date:   Mon,  5 Aug 2024 00:09:09 +0200

limit join to active outcomes

Diffstat:
Msrc/exchangedb/pg_lookup_kyc_requirement_by_row.c | 3++-
Msrc/testing/testing_api_cmd_exec_aggregator.c | 1+
2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/exchangedb/pg_lookup_kyc_requirement_by_row.c b/src/exchangedb/pg_lookup_kyc_requirement_by_row.c @@ -80,7 +80,8 @@ TEH_PG_lookup_kyc_requirement_by_row ( " USING (access_token)" " LEFT JOIN legitimization_outcomes lo" " ON (wt.wire_target_h_payto = lo.h_payto)" - " WHERE legitimization_measure_serial_id=$1;"); + " WHERE legitimization_measure_serial_id=$1" + " AND lo.is_active;"); return GNUNET_PQ_eval_prepared_singleton_select ( pg->conn, "lookup_kyc_requirement_by_row", diff --git a/src/testing/testing_api_cmd_exec_aggregator.c b/src/testing/testing_api_cmd_exec_aggregator.c @@ -72,6 +72,7 @@ aggregator_run (void *cls, "taler-exchange-aggregator", "taler-exchange-aggregator", "-c", as->config_filename, + "-L", "INFO", "-t", /* exit when done */ (as->kyc_on) ? NULL