diff options
author | Florian Dold <florian.dold@gmail.com> | 2020-01-19 19:27:32 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2020-01-19 19:27:32 +0100 |
commit | 325ce8fa6a33769493aa780859ba11ddb69db8e0 (patch) | |
tree | 4e4aeae0aacb30e8b7a290150320d84a08e03774 /src/backend/taler-merchant-httpd_auditors.c | |
parent | e5ef509b5301b1a67d0d7892ba8f60b62780de00 (diff) | |
download | merchant-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.c | 20 |
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", - ¤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, "NAME", &auditor.name)) { |