summaryrefslogtreecommitdiff
path: root/src/backend/taler-merchant-httpd_auditors.c
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2020-01-19 19:27:32 +0100
committerFlorian Dold <florian.dold@gmail.com>2020-01-19 19:27:32 +0100
commit325ce8fa6a33769493aa780859ba11ddb69db8e0 (patch)
tree4e4aeae0aacb30e8b7a290150320d84a08e03774 /src/backend/taler-merchant-httpd_auditors.c
parente5ef509b5301b1a67d0d7892ba8f60b62780de00 (diff)
downloadmerchant-325ce8fa6a33769493aa780859ba11ddb69db8e0.tar.gz
merchant-325ce8fa6a33769493aa780859ba11ddb69db8e0.tar.bz2
merchant-325ce8fa6a33769493aa780859ba11ddb69db8e0.zip
currency is global in the config, don't require duplication
Diffstat (limited to 'src/backend/taler-merchant-httpd_auditors.c')
-rw-r--r--src/backend/taler-merchant-httpd_auditors.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/backend/taler-merchant-httpd_auditors.c b/src/backend/taler-merchant-httpd_auditors.c
index db26b8f7..144db078 100644
--- a/src/backend/taler-merchant-httpd_auditors.c
+++ b/src/backend/taler-merchant-httpd_auditors.c
@@ -135,7 +135,6 @@ parse_auditors (void *cls,
{
const struct GNUNET_CONFIGURATION_Handle *cfg = cls;
char *pks;
- char *currency;
struct Auditor auditor;
if (0 != strncasecmp (section,
@@ -145,25 +144,6 @@ parse_auditors (void *cls,
if (GNUNET_OK !=
GNUNET_CONFIGURATION_get_value_string (cfg,
section,
- "CURRENCY",
- &currency))
- {
- GNUNET_log_config_missing (GNUNET_ERROR_TYPE_ERROR,
- section,
- "CURRENCY");
- return;
- }
- if (0 != strcasecmp (currency,
- TMH_currency))
- {
- /* trusted exchange, but for a different currency; ignore */
- GNUNET_free (currency);
- return;
- }
- GNUNET_free (currency);
- if (GNUNET_OK !=
- GNUNET_CONFIGURATION_get_value_string (cfg,
- section,
"NAME",
&auditor.name))
{