diff options
author | Christian Grothoff <christian@grothoff.org> | 2024-11-16 17:48:26 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2024-11-16 17:48:26 +0100 |
commit | 800279788f6a6c3ee0a4912ed6e0331017537298 (patch) | |
tree | 2580d5e107edb80173f103e1c4f2c37ff8f95561 /src/merchant-tools | |
parent | 0cafdf5efce0a115753e4109c657b4532900ab03 (diff) |
adapt merchant to taler-config splitv0.14.1-dev.2
Diffstat (limited to 'src/merchant-tools')
-rw-r--r-- | src/merchant-tools/benchmark-common.conf | 5 | ||||
-rw-r--r-- | src/merchant-tools/taler-merchant-benchmark.c | 1 |
2 files changed, 5 insertions, 1 deletions
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"); |