exchange

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

commit c700b4e7aceb62e25fa0cbbb6cb75ad69eb39cea
parent e760fd62e576b90d36c8680352225e4547df9ffa
Author: Christian Grothoff <grothoff@gnunet.org>
Date:   Sat, 23 Aug 2025 22:53:07 +0200

simplify logic

Diffstat:
Msrc/exchangedb/pg_kyc_provider_account_lookup.c | 6+-----
1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/src/exchangedb/pg_kyc_provider_account_lookup.c b/src/exchangedb/pg_kyc_provider_account_lookup.c @@ -50,7 +50,6 @@ TEH_PG_kyc_provider_account_lookup ( process_row), GNUNET_PQ_result_spec_end }; - enum GNUNET_DB_QueryStatus qs; PREPARE (pg, "get_wire_target_by_legitimization_id", @@ -63,12 +62,9 @@ TEH_PG_kyc_provider_account_lookup ( " ON (lp.h_payto = kt.h_normalized_payto)" " WHERE provider_legitimization_id=$1" " AND provider_name=$2;"); - qs = GNUNET_PQ_eval_prepared_singleton_select ( + return GNUNET_PQ_eval_prepared_singleton_select ( pg->conn, "get_wire_target_by_legitimization_id", params, rs); - if (qs <= 0) - return qs; - return qs; }