summaryrefslogtreecommitdiff
path: root/src/restclient
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-04-14 18:59:31 +0200
committerChristian Grothoff <christian@grothoff.org>2022-04-14 18:59:38 +0200
commit37cad4c26b8c37ce12843965fcc9334e998923ab (patch)
treed8bf2f1a526fa6d061587e2b49d0c40c2b4233b5 /src/restclient
parentcfc7801cf630e4090c038269e63ef8742cfcc7e5 (diff)
downloadanastasis-37cad4c26b8c37ce12843965fcc9334e998923ab.tar.gz
anastasis-37cad4c26b8c37ce12843965fcc9334e998923ab.tar.bz2
anastasis-37cad4c26b8c37ce12843965fcc9334e998923ab.zip
-remove currency-based provider selection
Diffstat (limited to 'src/restclient')
-rw-r--r--src/restclient/anastasis_api_config.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/restclient/anastasis_api_config.c b/src/restclient/anastasis_api_config.c
index 08b6952..dab63f7 100644
--- a/src/restclient/anastasis_api_config.c
+++ b/src/restclient/anastasis_api_config.c
@@ -108,8 +108,6 @@ handle_config_finished (void *cls,
&acfg.business_name),
GNUNET_JSON_spec_string ("version",
&acfg.version),
- GNUNET_JSON_spec_string ("currency",
- &acfg.currency),
GNUNET_JSON_spec_json ("methods",
&methods),
GNUNET_JSON_spec_uint32 ("storage_limit_in_megabytes",
@@ -179,19 +177,6 @@ handle_config_finished (void *cls,
break;
}
}
- if ( (GNUNET_OK !=
- TALER_amount_cmp_currency (&acfg.liability_limit,
- &acfg.annual_fee)) ||
- (0 !=
- strcasecmp (acfg.currency,
- acfg.annual_fee.currency)) )
- {
- GNUNET_break_op (0);
- GNUNET_JSON_parse_free (spec);
- response_code = 0;
- break;
- }
-
if (! json_is_array (methods))
{
GNUNET_break_op (0);