gnunet-svn
[Top][All Lists]
Advanced

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

[taler-exchange] branch master updated: also check currency unit


From: gnunet
Subject: [taler-exchange] branch master updated: also check currency unit
Date: Sun, 19 Jan 2020 21:05:55 +0100

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

grothoff pushed a commit to branch master
in repository exchange.

The following commit(s) were added to refs/heads/master by this push:
     new c3ec8c92 also check currency unit
c3ec8c92 is described below

commit c3ec8c929dd660bde7e79f378185760343ffd0fe
Author: Christian Grothoff <address@hidden>
AuthorDate: Sun Jan 19 21:05:53 2020 +0100

    also check currency unit
---
 src/exchange/taler-exchange-aggregator.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/exchange/taler-exchange-aggregator.c 
b/src/exchange/taler-exchange-aggregator.c
index 0718fdda..2869e5fa 100644
--- a/src/exchange/taler-exchange-aggregator.c
+++ b/src/exchange/taler-exchange-aggregator.c
@@ -608,11 +608,13 @@ exchange_serve_process_config ()
                                    "taler",
                                    "CURRENCY_ROUND_UNIT",
                                    &currency_round_unit)) ||
+         (0 != strcasecmp (exchange_currency_string,
+                           currency_round_unit.currency)) ||
          ( (0 != currency_round_unit.fraction) &&
            (0 != currency_round_unit.value) ) )
     {
       GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
-                  "Invalid value specified in `TALER' under 
`CURRENCY_ROUND_UNIT'\n");
+                  "Invalid value specified in section `TALER' under 
`CURRENCY_ROUND_UNIT'\n");
       return GNUNET_SYSERR;
     }
   }

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



reply via email to

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