aboutsummaryrefslogtreecommitdiff
path: root/src/exchangedb/pg_do_batch_withdraw.c
diff options
context:
space:
mode:
authorÖzgür Kesim <oec-taler@kesim.org>2023-05-12 15:10:23 +0200
committerÖzgür Kesim <oec-taler@kesim.org>2023-05-12 15:10:23 +0200
commita04425df340e9bef067cbf64809ced5597576dfc (patch)
tree1574dd5e1b5ff9095a0479d0e74ad2afe00269e8 /src/exchangedb/pg_do_batch_withdraw.c
parent5ee567d1bacf1422745bb0867a1022fd695bc5dc (diff)
downloadexchange-a04425df340e9bef067cbf64809ced5597576dfc.tar.xz
[age-withdraw] WIP: change schema to use new support for array types, 11/n
Diffstat (limited to 'src/exchangedb/pg_do_batch_withdraw.c')
-rw-r--r--src/exchangedb/pg_do_batch_withdraw.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/exchangedb/pg_do_batch_withdraw.c b/src/exchangedb/pg_do_batch_withdraw.c
index 3dee20d22..d93caa15e 100644
--- a/src/exchangedb/pg_do_batch_withdraw.c
+++ b/src/exchangedb/pg_do_batch_withdraw.c
@@ -31,6 +31,7 @@ TEH_PG_do_batch_withdraw (
void *cls,
struct GNUNET_TIME_Timestamp now,
const struct TALER_ReservePublicKeyP *reserve_pub,
+ /* TODO[oec]: add parameter for maximum age and [out]parameter for required age */
const struct TALER_Amount *amount,
bool *found,
bool *balance_ok,
@@ -68,6 +69,7 @@ TEH_PG_do_batch_withdraw (
" reserve_found"
",balance_ok"
",ruuid"
+ /* TODO[oec]: add parameter for maximum age and [out] parameter for required age */
" FROM exchange_do_batch_withdraw"
" ($1,$2,$3,$4,$5);");
return GNUNET_PQ_eval_prepared_singleton_select (pg->conn,