summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2018-01-22 16:20:31 +0100
committerChristian Grothoff <christian@grothoff.org>2018-01-22 16:20:31 +0100
commitbee509869eb563509a83cbf88c13b6679cae1d9c (patch)
treece605d1ff7a8c93f2eaf61161c3574b68cbc42a3
parentd66cae9aa61e710163c2385bee923988ec080a7a (diff)
downloadmerchant-bee509869eb563509a83cbf88c13b6679cae1d9c.tar.gz
merchant-bee509869eb563509a83cbf88c13b6679cae1d9c.tar.bz2
merchant-bee509869eb563509a83cbf88c13b6679cae1d9c.zip
fix #5259 (assertion slightly wrong)
-rw-r--r--src/backend/taler-merchant-httpd_pay.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/taler-merchant-httpd_pay.c b/src/backend/taler-merchant-httpd_pay.c
index 51ea2ce7..a6c57559 100644
--- 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));