aboutsummaryrefslogtreecommitdiff
path: root/src/testing/testing_api_cmd_batch_withdraw.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/testing/testing_api_cmd_batch_withdraw.c')
-rw-r--r--src/testing/testing_api_cmd_batch_withdraw.c15
1 files changed, 9 insertions, 6 deletions
diff --git a/src/testing/testing_api_cmd_batch_withdraw.c b/src/testing/testing_api_cmd_batch_withdraw.c
index e0b8285ae..9283f0325 100644
--- a/src/testing/testing_api_cmd_batch_withdraw.c
+++ b/src/testing/testing_api_cmd_batch_withdraw.c
@@ -321,12 +321,15 @@ batch_withdraw_run (void *cls,
wci->ps = &cs->ps;
wci->ach = cs->h_age_commitment;
}
- ws->wsh = TALER_EXCHANGE_batch_withdraw (exchange,
- rp,
- wcis,
- ws->num_coins,
- &reserve_batch_withdraw_cb,
- ws);
+ ws->wsh = TALER_EXCHANGE_batch_withdraw (
+ TALER_TESTING_interpreter_get_context (is),
+ TALER_TESTING_get_exchange_url (is),
+ TALER_TESTING_get_keys (is),
+ rp,
+ wcis,
+ ws->num_coins,
+ &reserve_batch_withdraw_cb,
+ ws);
if (NULL == ws->wsh)
{
GNUNET_break (0);