aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <grothoff@gnunet.org>2023-10-16 21:25:53 +0200
committerChristian Grothoff <grothoff@gnunet.org>2023-10-16 21:25:53 +0200
commit69a1528062dc15c8c60e62454c18f35bb76aecfb (patch)
tree0667571a4c5343b30f8fa4c06e4acfa347e6461f
parente389cb41924794477d73cae764efb61f3351ff62 (diff)
try to fix #7957 (test still fails though)
-rw-r--r--src/exchange/taler-exchange-httpd_batch-deposit.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/exchange/taler-exchange-httpd_batch-deposit.c b/src/exchange/taler-exchange-httpd_batch-deposit.c
index b74150b81..87ca36e0a 100644
--- a/src/exchange/taler-exchange-httpd_batch-deposit.c
+++ b/src/exchange/taler-exchange-httpd_batch-deposit.c
@@ -320,7 +320,9 @@ parse_coin (struct MHD_Connection *connection,
if (NULL == dk)
{
GNUNET_JSON_parse_free (spec);
- return mret;
+ return (MHD_YES == mret)
+ ? GNUNET_NO
+ : GNUNET_SYSERR;
}
if (0 > TALER_amount_cmp (&dk->meta.value,
&cdi->amount_with_fee))