From 7718cd4153f3321f5f324a485d21a3b7fdb992d4 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sun, 1 May 2022 12:45:12 +0200 Subject: skeleton for batch withdraw logic (not finished) --- src/exchange/taler-exchange-httpd_withdraw.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/exchange/taler-exchange-httpd_withdraw.c') diff --git a/src/exchange/taler-exchange-httpd_withdraw.c b/src/exchange/taler-exchange-httpd_withdraw.c index d5ecd3386..0c68b6d49 100644 --- a/src/exchange/taler-exchange-httpd_withdraw.c +++ b/src/exchange/taler-exchange-httpd_withdraw.c @@ -147,6 +147,10 @@ withdraw_transaction (void *cls, (TALER_DENOMINATION_CS == bp->cipher) ? &bp->details.cs_blinded_planchet.nonce : NULL; + // FIXME: what error is returned on nonce reuse? + // Should expand function to return this error + // specifically, and then we should return a + // TALER_EC_EXCHANGE_WITHDRAW_NONCE_REUSE, qs = TEH_plugin->do_withdraw (TEH_plugin->cls, nonce, &wc->collectable, -- cgit v1.2.3