[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-exchange] branch master updated: more AML_THRESHOLD fixes
From: |
gnunet |
Subject: |
[taler-exchange] branch master updated: more AML_THRESHOLD fixes |
Date: |
Sat, 13 May 2023 22:08:48 +0200 |
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 4e5a9906 more AML_THRESHOLD fixes
4e5a9906 is described below
commit 4e5a9906c2d206b32872cf934e26f3d56e2c5aaa
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Sat May 13 22:08:45 2023 +0200
more AML_THRESHOLD fixes
---
src/exchange/taler-exchange-aggregator.c | 6 +++---
src/exchange/taler-exchange-httpd.c | 14 +++++++-------
2 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/src/exchange/taler-exchange-aggregator.c
b/src/exchange/taler-exchange-aggregator.c
index 38110a5e..0073d85e 100644
--- a/src/exchange/taler-exchange-aggregator.c
+++ b/src/exchange/taler-exchange-aggregator.c
@@ -303,17 +303,17 @@ parse_aggregator_config (void)
(TALER_amount_is_zero (¤cy_round_unit)) )
{
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
- "Need non-zero amount in section `TALER' under
`CURRENCY_ROUND_UNIT'\n");
+ "Need non-zero amount in section `taler' under
`CURRENCY_ROUND_UNIT'\n");
return GNUNET_SYSERR;
}
if (GNUNET_OK !=
TALER_config_get_amount (cfg,
- "taler",
+ "exchange",
"AML_THRESHOLD",
&aml_threshold))
{
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
- "Need amount in section `TALER' under `AML_THRESHOLD'\n");
+ "Need amount in section `exchange' under `AML_THRESHOLD'\n");
return GNUNET_SYSERR;
}
diff --git a/src/exchange/taler-exchange-httpd.c
b/src/exchange/taler-exchange-httpd.c
index 5d3919a9..3a2c4c00 100644
--- a/src/exchange/taler-exchange-httpd.c
+++ b/src/exchange/taler-exchange-httpd.c
@@ -1868,6 +1868,13 @@ exchange_serve_process_config (void)
"Need amount in section `exchange' under `AML_THRESHOLD'\n");
return GNUNET_SYSERR;
}
+ if (0 != strcmp (TEH_currency,
+ TEH_aml_threshold.currency))
+ {
+ GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
+ "Amount in section `exchange' under `AML_THRESHOLD' uses the
wrong currency!\n");
+ return GNUNET_SYSERR;
+ }
TEH_enable_tipping
= GNUNET_CONFIGURATION_get_value_yesno (
TEH_cfg,
@@ -1879,13 +1886,6 @@ exchange_serve_process_config (void)
"Need YES or NO in section `exchange' under
`ENABLE_TIPPING'\n");
return GNUNET_SYSERR;
}
- if (0 != strcmp (TEH_currency,
- TEH_aml_threshold.currency))
- {
- GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
- "Amount in section `TALER' under `AML_THRESHOLD' uses the
wrong currency!\n");
- return GNUNET_SYSERR;
- }
if (GNUNET_OK !=
GNUNET_CONFIGURATION_get_value_string (TEH_cfg,
"exchange",
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-exchange] branch master updated: more AML_THRESHOLD fixes,
gnunet <=