diff options
author | Marcello Stanisci <stanisci.m@gmail.com> | 2018-12-18 16:16:26 +0100 |
---|---|---|
committer | Marcello Stanisci <stanisci.m@gmail.com> | 2018-12-18 16:16:26 +0100 |
commit | 18b39a45978d7e1d50dc64085afd4ab731a79b4d (patch) | |
tree | be373728d5df2d5070946076ad428175c75e1716 | |
parent | c38f521dd8342a609a11daa8b5d3916cb517efdd (diff) | |
download | exchange-18b39a45978d7e1d50dc64085afd4ab731a79b4d.tar.xz |
/payback: #5284.
-rw-r--r-- | src/exchange-lib/testing_api_cmd_payback.c | 8 |
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, |