diff options
author | Christian Grothoff <christian@grothoff.org> | 2023-02-04 16:01:46 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2023-02-04 16:01:46 +0100 |
commit | 19da4bd63868a4c46959198ef95e4a8e1af38b77 (patch) | |
tree | 1b77d20b085e9835e750091e66e3d510972a27ab /src/exchangedb/pg_select_aml_history.c | |
parent | c3243aa39f924921e8bf52fe6290e4d738d6a20e (diff) | |
download | exchange-19da4bd63868a4c46959198ef95e4a8e1af38b77.tar.xz |
add tests for new AML logic, plus related bugfixes
Diffstat (limited to 'src/exchangedb/pg_select_aml_history.c')
-rw-r--r-- | src/exchangedb/pg_select_aml_history.c | 19 |
1 files changed, 7 insertions, 12 deletions
diff --git a/src/exchangedb/pg_select_aml_history.c b/src/exchangedb/pg_select_aml_history.c index ac7fe5842..c54a3ef0c 100644 --- a/src/exchangedb/pg_select_aml_history.c +++ b/src/exchangedb/pg_select_aml_history.c @@ -138,18 +138,13 @@ TEH_PG_select_aml_history ( PREPARE (pg, "lookup_aml_history", "SELECT" - " aggregation_serial_id" - ",deposits.h_contract_terms" - ",payto_uri" - ",wire_targets.wire_target_h_payto" - ",kc.coin_pub" - ",deposits.merchant_pub" - ",wire_out.execution_date" - ",deposits.amount_with_fee_val" - ",deposits.amount_with_fee_frac" - ",denom.fee_deposit_val" - ",denom.fee_deposit_frac" - ",denom.denom_pub" + " new_threshold_val" + ",new_threshold_frac" + ",new_status" + ",decision_time" + ",justification" + ",decider_pub" + ",decider_sig" " FROM aml_history" " WHERE h_payto=$1;"); qs = GNUNET_PQ_eval_prepared_multi_select (pg->conn, |