Use proper exchange preparator (benchmark)

This commit is contained in:
Marcello Stanisci 2018-07-25 12:36:38 +02:00
parent 7a1d4e4d65
commit 2393e26b02
No known key found for this signature in database
GPG Key ID: 8D526861953F4C0F

View File

@ -78,6 +78,11 @@ enum BenchmarkError {
USER_LOGIN_NAME, USER_LOGIN_PASS, EXCHANGE_URL) USER_LOGIN_NAME, USER_LOGIN_PASS, EXCHANGE_URL)
/**
* Exchange URL; never used, just needed by exchange preparator.
*/
static char *exchange_url;
/** /**
* Time snapshot taken right before executing the CMDs. * Time snapshot taken right before executing the CMDs.
*/ */
@ -403,6 +408,9 @@ main (int argc,
return MISSING_BANK_URL; 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 result = TALER_TESTING_setup_with_exchange
(run, (run,
NULL, NULL,