From ddedf03a816e5139b235a3ebdf5b600508c5ed5f Mon Sep 17 00:00:00 2001
From: Özgür Kesim <oec-taler@kesim.org>
Date: Mon, 26 Jun 2023 00:01:31 +0200
Subject: [age-withdraw] age-withdraw commit- and reveal-handlers  implemented,
 12/n

The handlers for the commit- and reveal-phases of the age-withdraw
HTTP-endpoints are implemented, yet not active.

Still missing:

- support for age-withdraw is missing in lib/.
- tests
---
 src/exchangedb/exchange_do_batch_withdraw_insert.sql | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

(limited to 'src/exchangedb/exchange_do_batch_withdraw_insert.sql')

diff --git a/src/exchangedb/exchange_do_batch_withdraw_insert.sql b/src/exchangedb/exchange_do_batch_withdraw_insert.sql
index 27378674..b580f6fb 100644
--- a/src/exchangedb/exchange_do_batch_withdraw_insert.sql
+++ b/src/exchangedb/exchange_do_batch_withdraw_insert.sql
@@ -14,14 +14,11 @@
 -- TALER; see the file COPYING.  If not, see <http://www.gnu.org/licenses/>
 --
 
-
--- TODO[oec]: add min. age requirements handling
-
 CREATE OR REPLACE FUNCTION exchange_do_batch_withdraw_insert(
   IN cs_nonce BYTEA,
   IN amount_val INT8,
   IN amount_frac INT4,
-  IN h_denom_pub BYTEA,
+  IN h_denom_pub BYTEA, -- FIXME: denom_serials should really be a parameter to this FUNCTION.
   IN ruuid INT8,
   IN reserve_sig BYTEA,
   IN h_coin_envelope BYTEA,
@@ -45,6 +42,8 @@ out_denom_unknown=TRUE;
 out_conflict=TRUE;
 out_nonce_reuse=TRUE;
 
+-- FIXME: denom_serials should really be a parameter to this FUNCTION.
+
 SELECT denominations_serial
   INTO denom_serial
   FROM exchange.denominations
-- 
cgit v1.2.3

