[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-exchange] 04/05: Use proper exchange preparator (ben
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-exchange] 04/05: Use proper exchange preparator (benchmark) |
Date: |
Wed, 25 Jul 2018 13:08:29 +0200 |
This is an automated email from the git hooks/post-receive script.
marcello pushed a commit to branch master
in repository exchange.
commit 2393e26b021ef3d60dd1f980b541b2a06a8f583b
Author: Marcello Stanisci <address@hidden>
AuthorDate: Wed Jul 25 12:36:38 2018 +0200
Use proper exchange preparator (benchmark)
---
src/benchmark/taler-exchange-benchmark-new.c | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/src/benchmark/taler-exchange-benchmark-new.c
b/src/benchmark/taler-exchange-benchmark-new.c
index 9c6be31..5e55583 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,
--
To stop receiving notification emails like this one, please contact
address@hidden