From 325ce8fa6a33769493aa780859ba11ddb69db8e0 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Sun, 19 Jan 2020 19:27:32 +0100 Subject: currency is global in the config, don't require duplication --- src/backend/taler-merchant-httpd_auditors.c | 20 -------------------- 1 file changed, 20 deletions(-) (limited to 'src/backend/taler-merchant-httpd_auditors.c') 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,32 +135,12 @@ parse_auditors (void *cls, { const struct GNUNET_CONFIGURATION_Handle *cfg = cls; char *pks; - char *currency; struct Auditor auditor; if (0 != strncasecmp (section, "auditor-", strlen ("auditor-"))) return; - if (GNUNET_OK != - GNUNET_CONFIGURATION_get_value_string (cfg, - section, - "CURRENCY", - ¤cy)) - { - 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, -- cgit v1.2.3