summaryrefslogtreecommitdiff
path: root/src/auditordb/pg_select_pending_deposits.c
diff options
context:
space:
mode:
authorNic Eigel <nic@eigel.ch>2024-01-16 22:37:07 +0100
committerNic Eigel <nic@eigel.ch>2024-01-16 22:37:07 +0100
commit45b110edb2b4fd39c56f433c5c0a7f93cd29d4da (patch)
tree3ce6145e8ea7f67daaa1af55b3651002021167fd /src/auditordb/pg_select_pending_deposits.c
parent510d4fc5234e8e17d73e8d95a0dc66ad37c03fef (diff)
downloadexchange-45b110edb2b4fd39c56f433c5c0a7f93cd29d4da.tar.gz
exchange-45b110edb2b4fd39c56f433c5c0a7f93cd29d4da.tar.bz2
exchange-45b110edb2b4fd39c56f433c5c0a7f93cd29d4da.zip
progress on auditor helpers
Diffstat (limited to 'src/auditordb/pg_select_pending_deposits.c')
-rw-r--r--src/auditordb/pg_select_pending_deposits.c4
1 files changed, 1 insertions, 3 deletions
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",