aboutsummaryrefslogtreecommitdiff
path: root/src/exchange-lib
diff options
context:
space:
mode:
authorMarcello Stanisci <stanisci.m@gmail.com>2018-12-18 16:16:26 +0100
committerMarcello Stanisci <stanisci.m@gmail.com>2018-12-18 16:16:26 +0100
commit18b39a45978d7e1d50dc64085afd4ab731a79b4d (patch)
treebe373728d5df2d5070946076ad428175c75e1716 /src/exchange-lib
parentc38f521dd8342a609a11daa8b5d3916cb517efdd (diff)
/payback: #5284.
Diffstat (limited to 'src/exchange-lib')
-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,