aboutsummaryrefslogtreecommitdiff
path: root/src/util/config.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2023-10-29 16:15:00 +0100
committerChristian Grothoff <christian@grothoff.org>2023-10-29 16:15:00 +0100
commit342f8cbf12ba2516428ef58d2f00b664f9738639 (patch)
tree6940a4a08c094094576a2af825145fb30ff08bfe /src/util/config.c
parentbdff229e8d3a21d70f3326bfebd7ab334bb53647 (diff)
downloadexchange-342f8cbf12ba2516428ef58d2f00b664f9738639.tar.xz
no more decimal separator
Diffstat (limited to 'src/util/config.c')
-rw-r--r--src/util/config.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/util/config.c b/src/util/config.c
index 7002a6d7c..e22207f77 100644
--- a/src/util/config.c
+++ b/src/util/config.c
@@ -271,20 +271,6 @@ parse_currencies_cb (void *cls,
if (GNUNET_OK !=
GNUNET_CONFIGURATION_get_value_string (cpc->cfg,
section,
- "DECIMAL_SEPARATOR",
- &str))
- {
- GNUNET_log_config_missing (GNUNET_ERROR_TYPE_ERROR,
- section,
- "DECIMAL_SEPARATOR");
- cpc->failure = true;
- return;
- }
- cspec->decimal_separator = str;
-
- if (GNUNET_OK !=
- GNUNET_CONFIGURATION_get_value_string (cpc->cfg,
- section,
"NAME",
&str))
{
@@ -487,8 +473,6 @@ TALER_CONFIG_currency_specs_to_json (const struct
TALER_CurrencySpecification *cspec)
{
return GNUNET_JSON_PACK (
- GNUNET_JSON_pack_string ("decimal_separator",
- cspec->decimal_separator),
GNUNET_JSON_pack_string ("name",
cspec->name),
GNUNET_JSON_pack_string ("currency",
@@ -515,7 +499,6 @@ TALER_CONFIG_free_currencies (
{
struct TALER_CurrencySpecification *cspec = &cspecs[i];
- GNUNET_free (cspec->decimal_separator);
GNUNET_free (cspec->name);
json_decref (cspec->map_alt_unit_names);
}