From 45b110edb2b4fd39c56f433c5c0a7f93cd29d4da Mon Sep 17 00:00:00 2001 From: Nic Eigel Date: Tue, 16 Jan 2024 22:37:07 +0100 Subject: progress on auditor helpers --- src/auditordb/pg_select_pending_deposits.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/auditordb/pg_select_pending_deposits.c') diff --git a/src/auditordb/pg_select_pending_deposits.c b/src/auditordb/pg_select_pending_deposits.c index a5d1c6ae8..3a46770a2 100644 --- a/src/auditordb/pg_select_pending_deposits.c +++ b/src/auditordb/pg_select_pending_deposits.c @@ -118,7 +118,6 @@ TAH_PG_select_pending_deposits ( { struct PostgresClosure *pg = cls; struct GNUNET_PQ_QueryParam params[] = { - GNUNET_PQ_query_param_auto_from_type (master_pub), GNUNET_PQ_query_param_absolute_time (&deadline), GNUNET_PQ_query_param_end }; @@ -137,8 +136,7 @@ TAH_PG_select_pending_deposits ( ",wire_target_h_payto" ",deadline" " FROM auditor_pending_deposits" - " WHERE master_pub=$1" - " AND deadline<$2;"); + " WHERE deadline<$1;"); qs = GNUNET_PQ_eval_prepared_multi_select ( pg->conn, "auditor_select_pending_deposits", -- cgit v1.2.3