diff options
author | Christian Grothoff <christian@grothoff.org> | 2023-05-13 22:08:45 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2023-05-13 22:08:45 +0200 |
commit | 4e5a9906c2d206b32872cf934e26f3d56e2c5aaa (patch) | |
tree | 6d0ddc0205502861b41182f1e0ccf2f56b65d237 /src/exchange/taler-exchange-httpd.c | |
parent | 89ed38c03cb50e1ba4d947c3fa7627adf62ee500 (diff) |
more AML_THRESHOLD fixes
Diffstat (limited to 'src/exchange/taler-exchange-httpd.c')
-rw-r--r-- | src/exchange/taler-exchange-httpd.c | 14 |
1 files changed, 7 insertions, 7 deletions
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", |