From 3b34acdb72cd450974a3bbde6169f1bf9644a302 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Wed, 12 Oct 2022 14:48:49 +0200 Subject: -update to latest GNUNET_PQ_make_prepare() API --- src/exchangedb/pg_do_reserve_open.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/exchangedb/pg_do_reserve_open.c') diff --git a/src/exchangedb/pg_do_reserve_open.c b/src/exchangedb/pg_do_reserve_open.c index ad18cb93..542d1f46 100644 --- a/src/exchangedb/pg_do_reserve_open.c +++ b/src/exchangedb/pg_do_reserve_open.c @@ -56,12 +56,12 @@ TEH_PG_do_reserve_open ( GNUNET_PQ_query_param_end }; struct GNUNET_PQ_ResultSpec rs[] = { - GNUNET_PQ_result_spec_bool ("out_no_funds", - no_funds), TALER_PQ_RESULT_SPEC_AMOUNT ("out_open_cost", open_cost), GNUNET_PQ_result_spec_timestamp ("out_final_expiration", final_expiration), + GNUNET_PQ_result_spec_bool ("out_no_funds", + no_funds), GNUNET_PQ_result_spec_end }; @@ -73,7 +73,7 @@ TEH_PG_do_reserve_open ( ",out_final_expiration" ",out_no_funds" " FROM exchange_do_reserve_open" - " ($1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11);"); + " ($1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12,$13);"); return GNUNET_PQ_eval_prepared_singleton_select (pg->conn, "do_reserve_open", params, -- cgit v1.2.3