diff options
author | Marcello Stanisci <stanisci.m@gmail.com> | 2018-07-25 12:36:38 +0200 |
---|---|---|
committer | Marcello Stanisci <stanisci.m@gmail.com> | 2018-07-25 12:36:38 +0200 |
commit | 2393e26b021ef3d60dd1f980b541b2a06a8f583b (patch) | |
tree | e6077047c29d9acaa5656dd014b3b91dcf3d0d47 /src | |
parent | 7a1d4e4d65fa21b17f508bc4e05adc31bcf896bc (diff) |
Use proper exchange preparator (benchmark)
Diffstat (limited to 'src')
-rw-r--r-- | src/benchmark/taler-exchange-benchmark-new.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/benchmark/taler-exchange-benchmark-new.c b/src/benchmark/taler-exchange-benchmark-new.c index 9c6be3173..5e5558335 100644 --- a/src/benchmark/taler-exchange-benchmark-new.c +++ b/src/benchmark/taler-exchange-benchmark-new.c @@ -79,6 +79,11 @@ enum BenchmarkError { /** + * Exchange URL; never used, just needed by exchange preparator. + */ +static char *exchange_url; + +/** * Time snapshot taken right before executing the CMDs. */ static struct GNUNET_TIME_Absolute start_time; @@ -403,6 +408,9 @@ main (int argc, return MISSING_BANK_URL; } + GNUNET_assert (GNUNET_OK == TALER_TESTING_prepare_exchange + (cfg_filename, + &exchange_url)); // never used, we do all via handle. result = TALER_TESTING_setup_with_exchange (run, NULL, |