exchange

Base system with REST service to issue digital coins, run by the payment service provider
Log | Files | Refs | Submodules | README | LICENSE

commit 75259017b73b762a84307ba87d18b8ba989514d8
parent 9989867642d53c4bdcb711a7b96fd6fb0f340f27
Author: Christian Grothoff <christian@grothoff.org>
Date:   Tue, 21 Oct 2025 13:05:59 +0200

idempotent planchet is really a 400, remove dead code

Diffstat:
Msrc/exchange/taler-exchange-httpd_withdraw.c | 10+---------
1 file changed, 1 insertion(+), 9 deletions(-)

diff --git a/src/exchange/taler-exchange-httpd_withdraw.c b/src/exchange/taler-exchange-httpd_withdraw.c @@ -1496,18 +1496,10 @@ phase_generate_reply_error ( finish_loop (wc, TALER_MHD_reply_with_error ( wc->rc->connection, - MHD_HTTP_CONFLICT, + MHD_HTTP_BAD_REQUEST, TALER_EC_EXCHANGE_WITHDRAW_IDEMPOTENT_PLANCHET, NULL)); return; - case WITHDRAW_ERROR_NONCE_RESUSE: - finish_loop (wc, - TALER_MHD_reply_with_error ( - wc->rc->connection, - MHD_HTTP_CONFLICT, - TALER_EC_EXCHANGE_WITHDRAW_NONCE_REUSE, - "blinding_seed")); - return; case WITHDRAW_ERROR_RESERVE_SIGNATURE_INVALID: finish_loop (wc, TALER_MHD_reply_with_ec (