diff options
author | Christian Grothoff <christian@grothoff.org> | 2022-05-01 12:45:12 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2022-05-01 12:45:12 +0200 |
commit | 7718cd4153f3321f5f324a485d21a3b7fdb992d4 (patch) | |
tree | ac12b67319469ef3a46c5c64a73503a3302eee3c /src/exchange/taler-exchange-httpd_withdraw.c | |
parent | f99fb9ad4b2b2c046de9e1eccebfde8f60e4fa83 (diff) | |
download | exchange-7718cd4153f3321f5f324a485d21a3b7fdb992d4.tar.gz exchange-7718cd4153f3321f5f324a485d21a3b7fdb992d4.tar.bz2 exchange-7718cd4153f3321f5f324a485d21a3b7fdb992d4.zip |
skeleton for batch withdraw logic (not finished)
Diffstat (limited to 'src/exchange/taler-exchange-httpd_withdraw.c')
-rw-r--r-- | src/exchange/taler-exchange-httpd_withdraw.c | 4 |
1 files changed, 4 insertions, 0 deletions
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, |