gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [taler-merchant] branch master updated: fix #5259 (assertio


From: gnunet
Subject: [GNUnet-SVN] [taler-merchant] branch master updated: fix #5259 (assertion slightly wrong)
Date: Mon, 22 Jan 2018 16:20:39 +0100

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository merchant.

The following commit(s) were added to refs/heads/master by this push:
     new bee5098  fix #5259 (assertion slightly wrong)
bee5098 is described below

commit bee509869eb563509a83cbf88c13b6679cae1d9c
Author: Christian Grothoff <address@hidden>
AuthorDate: Mon Jan 22 16:20:31 2018 +0100

    fix #5259 (assertion slightly wrong)
---
 src/backend/taler-merchant-httpd_pay.c | 2 +-
 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
index 51ea2ce..a6c5755 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));

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]