summaryrefslogtreecommitdiff
path: root/src/exchange/taler-exchange-httpd_refund.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-08-13 00:45:02 +0200
committerChristian Grothoff <christian@grothoff.org>2020-08-13 00:45:02 +0200
commit4e0b5104382a1271261a24c4b97cb50f63aea976 (patch)
tree1277741e531ce9df2677e0faae2be395af7b5494 /src/exchange/taler-exchange-httpd_refund.c
parent6256bdb15a7c43b644132ae8c78adf31bcae4d28 (diff)
downloadexchange-4e0b5104382a1271261a24c4b97cb50f63aea976.tar.gz
exchange-4e0b5104382a1271261a24c4b97cb50f63aea976.tar.bz2
exchange-4e0b5104382a1271261a24c4b97cb50f63aea976.zip
extend tests to discover corner cases from #6478, fix code to actually work for those cases
Diffstat (limited to 'src/exchange/taler-exchange-httpd_refund.c')
-rw-r--r--src/exchange/taler-exchange-httpd_refund.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/exchange/taler-exchange-httpd_refund.c b/src/exchange/taler-exchange-httpd_refund.c
index b60a93b5..955f1c51 100644
--- a/src/exchange/taler-exchange-httpd_refund.c
+++ b/src/exchange/taler-exchange-httpd_refund.c
@@ -337,7 +337,6 @@ refund_transaction (void *cls,
if (1 == TALER_amount_cmp (&refund_total,
&deposit_total) )
{
- GNUNET_break_op (0); /* cannot refund more than original value */
*mhd_ret = TALER_MHD_reply_json_pack (
connection,
MHD_HTTP_CONFLICT,