commit bee509869eb563509a83cbf88c13b6679cae1d9c
parent d66cae9aa61e710163c2385bee923988ec080a7a
Author: Christian Grothoff <christian@grothoff.org>
Date: Mon, 22 Jan 2018 16:20:31 +0100
fix #5259 (assertion slightly wrong)
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/backend/taler-merchant-httpd_pay.c b/src/backend/taler-merchant-httpd_pay.c
@@ -713,7 +713,7 @@ check_payment_sufficient (struct PayContext *pc)
}
/* Do not count any refunds towards the payment */
- GNUNET_assert (GNUNET_OK ==
+ GNUNET_assert (GNUNET_SYSERR !=
TALER_amount_subtract (&acc_amount,
&acc_amount,
&pc->total_refunded));