commit 2393e26b021ef3d60dd1f980b541b2a06a8f583b
parent 7a1d4e4d65fa21b17f508bc4e05adc31bcf896bc
Author: Marcello Stanisci <stanisci.m@gmail.com>
Date: Wed, 25 Jul 2018 12:36:38 +0200
Use proper exchange preparator (benchmark)
Diffstat:
1 file changed, 8 insertions(+), 0 deletions(-)
diff --git 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,