commit 8b1d1d3cdc0bed4f3d8960dce80f33781e40f8cc
parent e68292c2dfa3a8d2f473136cb8e91daf5ce1b7dc
Author: Christian Grothoff <christian@grothoff.org>
Date: Thu, 1 May 2025 00:05:21 +0200
avoid hard crash, return 500 on internal state machine error
Diffstat:
1 file changed, 0 insertions(+), 2 deletions(-)
diff --git a/src/exchange/taler-exchange-httpd_withdraw.c b/src/exchange/taler-exchange-httpd_withdraw.c
@@ -1294,8 +1294,6 @@ phase_generate_reply_error (
struct WithdrawContext *wc)
{
GNUNET_assert (WITHDRAW_PHASE_GENERATE_REPLY_ERROR == wc->phase);
- GNUNET_assert (WITHDRAW_ERROR_NONE != wc->error.code);
-
if (IDEMPOTENCY_CHECK_REQUIRED (wc->error.code)
&& withdraw_is_idempotent (wc))
{