diff options
author | Florian Dold <florian.dold@gmail.com> | 2020-01-19 17:03:19 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2020-01-19 17:03:19 +0100 |
commit | fc8bdb9b978334d52b80c318f9326394f855de2d (patch) | |
tree | 428c6b9235dee248bef4fc7e7c41b029495b0d0f /src/testing/testing_api_helpers_bank.c | |
parent | 9f522baadcf3b5288d35216962a91b5aeb688820 (diff) | |
download | exchange-fc8bdb9b978334d52b80c318f9326394f855de2d.tar.xz |
consistently use payto URI instead of URL
Diffstat (limited to 'src/testing/testing_api_helpers_bank.c')
-rw-r--r-- | src/testing/testing_api_helpers_bank.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/testing/testing_api_helpers_bank.c b/src/testing/testing_api_helpers_bank.c index dbe89e63c..7b8b203a3 100644 --- a/src/testing/testing_api_helpers_bank.c +++ b/src/testing/testing_api_helpers_bank.c @@ -263,12 +263,12 @@ TALER_TESTING_prepare_bank (const char *config_filename, if (GNUNET_OK != GNUNET_CONFIGURATION_get_value_string (cfg, config_section, - "URL", /* FIXME: config should be renamed to payto_uri, it's not an url even! */ + "PAYTO_URI", &exchange_payto_uri)) { GNUNET_log_config_missing (GNUNET_ERROR_TYPE_WARNING, config_section, - "URL"); + "PAYTO_URI"); GNUNET_CONFIGURATION_destroy (cfg); return GNUNET_SYSERR; } @@ -418,12 +418,12 @@ TALER_TESTING_prepare_fakebank (const char *config_filename, if (GNUNET_OK != GNUNET_CONFIGURATION_get_value_string (cfg, config_section, - "URL", /* FIXME: config should be renamed to payto_uri, it's not an url even! */ + "PAYTO_URI", &exchange_payto_uri)) { GNUNET_log_config_missing (GNUNET_ERROR_TYPE_WARNING, config_section, - "URL"); + "PAYTO_URI"); GNUNET_CONFIGURATION_destroy (cfg); return GNUNET_SYSERR; } @@ -485,7 +485,7 @@ json_t * TALER_TESTING_make_wire_details (const char *payto) { return json_pack ("{s:s, s:s}", - "url", payto, + "payto_uri", payto, "salt", "test-salt (must be constant for aggregation tests)"); } |