From 800279788f6a6c3ee0a4912ed6e0331017537298 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sat, 16 Nov 2024 17:48:26 +0100 Subject: adapt merchant to taler-config split --- src/merchant-tools/benchmark-common.conf | 5 ++++- src/merchant-tools/taler-merchant-benchmark.c | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'src/merchant-tools') diff --git a/src/merchant-tools/benchmark-common.conf b/src/merchant-tools/benchmark-common.conf index 66bf584c..ad4aaf46 100644 --- a/src/merchant-tools/benchmark-common.conf +++ b/src/merchant-tools/benchmark-common.conf @@ -2,10 +2,13 @@ [paths] TALER_TEST_HOME=exchange_benchmark_home/ -[taler] +[exchange] CURRENCY=EUR CURRENCY_ROUND_UNIT=EUR:0.01 +[merchant] +CURRENCY=EUR + [merchant-benchmark] MERCHANT_URL = "http://localhost:9966/" diff --git a/src/merchant-tools/taler-merchant-benchmark.c b/src/merchant-tools/taler-merchant-benchmark.c index 63a7a7f6..48bf0d0b 100644 --- a/src/merchant-tools/taler-merchant-benchmark.c +++ b/src/merchant-tools/taler-merchant-benchmark.c @@ -567,6 +567,7 @@ main (int argc, } if (GNUNET_OK != TALER_config_get_currency (cfg, + "merchant", ¤cy)) { TALER_LOG_ERROR ("Failed to read currency from configuration\n"); -- cgit v1.2.3