aboutsummaryrefslogtreecommitdiff
path: root/src/auditordb/pg_delete_pending_deposit.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2024-01-18 12:08:53 +0100
committerChristian Grothoff <christian@grothoff.org>2024-02-07 23:48:45 +0100
commite0d46f96859b33b3f04791028e30bce4f0173567 (patch)
tree18478e55759cf318da746e64353183601dfb3899 /src/auditordb/pg_delete_pending_deposit.c
parentb5de0afa73c0b8f7bcf988e2bc00f07f4f6cf42e (diff)
downloadexchange-e0d46f96859b33b3f04791028e30bce4f0173567.tar.xz
auditordb tabularasa
Diffstat (limited to 'src/auditordb/pg_delete_pending_deposit.c')
-rw-r--r--src/auditordb/pg_delete_pending_deposit.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/auditordb/pg_delete_pending_deposit.c b/src/auditordb/pg_delete_pending_deposit.c
index 3dfd467c5..29814e84b 100644
--- a/src/auditordb/pg_delete_pending_deposit.c
+++ b/src/auditordb/pg_delete_pending_deposit.c
@@ -29,12 +29,10 @@
enum GNUNET_DB_QueryStatus
TAH_PG_delete_pending_deposit (
void *cls,
- const struct TALER_MasterPublicKeyP *master_pub,
uint64_t batch_deposit_serial_id)
{
struct PostgresClosure *pg = cls;
struct GNUNET_PQ_QueryParam params[] = {
- GNUNET_PQ_query_param_auto_from_type (master_pub),
GNUNET_PQ_query_param_uint64 (&batch_deposit_serial_id),
GNUNET_PQ_query_param_end
};
@@ -43,8 +41,7 @@ TAH_PG_delete_pending_deposit (
"auditor_delete_pending_deposit",
"DELETE"
" FROM auditor_pending_deposits"
- " WHERE master_pub=$1"
- " AND batch_deposit_serial_id=$2;");
+ " WHERE batch_deposit_serial_id=$1;");
return GNUNET_PQ_eval_prepared_non_select (pg->conn,
"auditor_delete_pending_deposit",
params);