gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [taler-exchange] 01/02: tolerate total-amount==fee in aggre


From: gnunet
Subject: [GNUnet-SVN] [taler-exchange] 01/02: tolerate total-amount==fee in aggregator
Date: Thu, 06 Jul 2017 11:19:07 +0200

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

grothoff pushed a commit to branch master
in repository exchange.

commit 1910d6648c5e8939b128af0d65551d0d86ecae3a
Author: Christian Grothoff <address@hidden>
AuthorDate: Wed Jul 5 19:08:09 2017 +0200

    tolerate total-amount==fee in aggregator
---
 src/exchange/taler-exchange-aggregator.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/exchange/taler-exchange-aggregator.c 
b/src/exchange/taler-exchange-aggregator.c
index 7bd437b..2b19aa6 100644
--- a/src/exchange/taler-exchange-aggregator.c
+++ b/src/exchange/taler-exchange-aggregator.c
@@ -597,7 +597,7 @@ deposit_cb (void *cls,
   enum GNUNET_DB_QueryStatus qs;
   
   au->merchant_pub = *merchant_pub;
-  if (GNUNET_OK !=
+  if (GNUNET_SYSERR ==
       TALER_amount_subtract (&au->total_amount,
                              amount_with_fee,
                              deposit_fee))
@@ -694,7 +694,7 @@ aggregate_cb (void *cls,
                         merchant_pub,
                         sizeof (struct TALER_MerchantPublicKeyP)));
   /* compute contribution of this coin after fees */
-  if (GNUNET_OK !=
+  if (GNUNET_SYSERR ==
       TALER_amount_subtract (&delta,
                              amount_with_fee,
                              deposit_fee))

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



reply via email to

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