summaryrefslogtreecommitdiff
path: root/src/benchmark
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2020-01-19 18:48:14 +0100
committerFlorian Dold <florian.dold@gmail.com>2020-01-19 18:48:23 +0100
commit6074790867eb187f4c4de96cb6266fa541dc18ae (patch)
treeedd5187756f93678766692f4301d7541f68402cc /src/benchmark
parentc1dc7cc28bd87f282825944b33a986fd96c5e3c2 (diff)
downloadexchange-6074790867eb187f4c4de96cb6266fa541dc18ae.tar.gz
exchange-6074790867eb187f4c4de96cb6266fa541dc18ae.tar.bz2
exchange-6074790867eb187f4c4de96cb6266fa541dc18ae.zip
config syntax for accounts
Diffstat (limited to 'src/benchmark')
-rw-r--r--src/benchmark/benchmark.conf2
-rw-r--r--src/benchmark/taler-exchange-benchmark.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/benchmark/benchmark.conf b/src/benchmark/benchmark.conf
index 1ce943ce..f59d995c 100644
--- a/src/benchmark/benchmark.conf
+++ b/src/benchmark/benchmark.conf
@@ -43,7 +43,7 @@ dir = $HOME/repos/taler/exchange/src/benchmark
[benchmark]
USER_PAYTO_URI = payto://x-taler-bank/localhost:8082/42
-[account-2]
+[exchange-account-2]
# What is the payto://-URL of the exchange (to generate wire response)
PAYTO_URI = "payto://x-taler-bank/localhost:8082/2"
# What is the bank account (with the "Taler Bank" demo system)? Must end with "/".
diff --git a/src/benchmark/taler-exchange-benchmark.c b/src/benchmark/taler-exchange-benchmark.c
index 9aa9c2da..38ba810f 100644
--- a/src/benchmark/taler-exchange-benchmark.c
+++ b/src/benchmark/taler-exchange-benchmark.c
@@ -205,9 +205,9 @@ static void
pick_exchange_account_cb (void *cls,
const char *section)
{
- if (0 == strncasecmp ("account-",
+ if (0 == strncasecmp ("exchange-account-",
section,
- strlen ("account-")))
+ strlen ("exchange-account-")))
{
const char **s = cls;