aboutsummaryrefslogtreecommitdiff
path: root/src/exchangedb/pg_do_age_withdraw.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/exchangedb/pg_do_age_withdraw.c')
-rw-r--r--src/exchangedb/pg_do_age_withdraw.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/exchangedb/pg_do_age_withdraw.c b/src/exchangedb/pg_do_age_withdraw.c
index 4fb52d466..0c79f58c9 100644
--- a/src/exchangedb/pg_do_age_withdraw.c
+++ b/src/exchangedb/pg_do_age_withdraw.c
@@ -44,7 +44,8 @@ TEH_PG_do_age_withdraw (
struct PostgresClosure *pg = cls;
struct GNUNET_TIME_Timestamp gc;
struct GNUNET_PQ_QueryParam params[] = {
- TALER_PQ_query_param_amount (&commitment->amount_with_fee),
+ TALER_PQ_query_param_amount_tuple (pg->conn,
+ &commitment->amount_with_fee),
GNUNET_PQ_query_param_auto_from_type (&commitment->reserve_pub),
GNUNET_PQ_query_param_auto_from_type (&commitment->reserve_sig),
GNUNET_PQ_query_param_timestamp (&now),
@@ -96,7 +97,7 @@ TEH_PG_do_age_withdraw (
",reserve_birthday"
",conflict"
" FROM exchange_do_age_withdraw"
- " ($1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12);");
+ " ($1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11);");
return GNUNET_PQ_eval_prepared_singleton_select (pg->conn,
"call_age_withdraw",
params,