From 6074790867eb187f4c4de96cb6266fa541dc18ae Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Sun, 19 Jan 2020 18:48:14 +0100 Subject: config syntax for accounts --- src/benchmark/benchmark.conf | 2 +- src/benchmark/taler-exchange-benchmark.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/benchmark') diff --git a/src/benchmark/benchmark.conf b/src/benchmark/benchmark.conf index 1ce943ce9..f59d995c6 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 9aa9c2daf..38ba810fa 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; -- cgit v1.2.3