summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/exchange-lib/testing_api_cmd_payback.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/exchange-lib/testing_api_cmd_payback.c b/src/exchange-lib/testing_api_cmd_payback.c
index bb7b302e3..28792794a 100644
--- a/src/exchange-lib/testing_api_cmd_payback.c
+++ b/src/exchange-lib/testing_api_cmd_payback.c
@@ -95,11 +95,6 @@ struct PaybackState
const char *amount;
/**
- * Connection to the exchange.
- */
- struct TALER_EXCHANGE_Handle *exchange;
-
- /**
* Handle to the ongoing operation.
*/
struct TALER_EXCHANGE_PaybackHandle *ph;
@@ -231,7 +226,6 @@ payback_run (void *cls,
struct TALER_PlanchetSecretsP planchet;
ps->is = is;
- ps->exchange = is->exchange;
coin_cmd = TALER_TESTING_interpreter_lookup_command
(is, ps->coin_reference);
@@ -280,7 +274,7 @@ payback_run (void *cls,
"Trying to get '%s..' paid back\n",
TALER_B2S (&denom_pub->h_key));
- ps->ph = TALER_EXCHANGE_payback (ps->exchange,
+ ps->ph = TALER_EXCHANGE_payback (is->exchange,
denom_pub,
coin_sig,
&planchet,