aboutsummaryrefslogtreecommitdiff
path: root/src/benchmark
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2020-01-19 17:03:19 +0100
committerFlorian Dold <florian.dold@gmail.com>2020-01-19 17:03:19 +0100
commitfc8bdb9b978334d52b80c318f9326394f855de2d (patch)
tree428c6b9235dee248bef4fc7e7c41b029495b0d0f /src/benchmark
parent9f522baadcf3b5288d35216962a91b5aeb688820 (diff)
consistently use payto URI instead of URL
Diffstat (limited to 'src/benchmark')
-rw-r--r--src/benchmark/benchmark.conf2
-rw-r--r--src/benchmark/taler-exchange-benchmark.c8
2 files changed, 5 insertions, 5 deletions
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",