From fc8bdb9b978334d52b80c318f9326394f855de2d Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Sun, 19 Jan 2020 17:03:19 +0100 Subject: consistently use payto URI instead of URL --- src/benchmark/benchmark.conf | 2 +- src/benchmark/taler-exchange-benchmark.c | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'src/benchmark') diff --git a/src/benchmark/benchmark.conf b/src/benchmark/benchmark.conf index a52b03718..1ce943ce9 100644 --- a/src/benchmark/benchmark.conf +++ b/src/benchmark/benchmark.conf @@ -45,7 +45,7 @@ USER_PAYTO_URI = payto://x-taler-bank/localhost:8082/42 [account-2] # What is the payto://-URL of the exchange (to generate wire response) -URL = "payto://x-taler-bank/localhost:8082/2" +PAYTO_URI = "payto://x-taler-bank/localhost:8082/2" # What is the bank account (with the "Taler Bank" demo system)? Must end with "/". WIRE_GATEWAY_URL = http://localhost:8082/2/ # This is the response we give out for the /wire request. It provides diff --git a/src/benchmark/taler-exchange-benchmark.c b/src/benchmark/taler-exchange-benchmark.c index c22422df2..e9212ccfe 100644 --- a/src/benchmark/taler-exchange-benchmark.c +++ b/src/benchmark/taler-exchange-benchmark.c @@ -92,7 +92,7 @@ static struct TALER_TESTING_ExchangeConfiguration ec; /** * Hold information about a user at the bank. */ -static char *user_payto_url; +static char *user_payto_uri; /** * Time snapshot taken right before executing the CMDs. @@ -184,7 +184,7 @@ CMD_TRANSFER_TO_EXCHANGE (char *label, char *amount) (TALER_TESTING_cmd_admin_add_incoming (label, amount, &exchange_bank_account, - user_payto_url)); + user_payto_uri)); } @@ -318,7 +318,7 @@ run (void *cls, ("deposit", withdraw_label, 0, /* Index of the one withdrawn coin in the traits. */ - user_payto_url, + user_payto_uri, order_enc, GNUNET_TIME_UNIT_ZERO, AMOUNT_1, @@ -813,7 +813,7 @@ main (int argc, GNUNET_CONFIGURATION_get_value_string (cfg, "benchmark", "USER_PAYTO_URI", - &user_payto_url)) + &user_payto_uri)) { GNUNET_log_config_missing (GNUNET_ERROR_TYPE_ERROR, "benchmark", -- cgit v1.2.3