summaryrefslogtreecommitdiff
path: root/src/exchange-lib/testing_api_cmd_wire.c
diff options
context:
space:
mode:
authorMarcello Stanisci <stanisci.m@gmail.com>2018-12-18 17:05:26 +0100
committerMarcello Stanisci <stanisci.m@gmail.com>2018-12-18 17:05:26 +0100
commite634c877e34952d951438eaafd40e43c291a64fa (patch)
tree1aba2c102e4df3bf9e236e2d51540394bfe6c64b /src/exchange-lib/testing_api_cmd_wire.c
parentce36e23a88441f25c2944e108a4f0d58c85b11d0 (diff)
downloadexchange-e634c877e34952d951438eaafd40e43c291a64fa.tar.gz
exchange-e634c877e34952d951438eaafd40e43c291a64fa.tar.bz2
exchange-e634c877e34952d951438eaafd40e43c291a64fa.zip
/wire: #5284
Diffstat (limited to 'src/exchange-lib/testing_api_cmd_wire.c')
-rw-r--r--src/exchange-lib/testing_api_cmd_wire.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/exchange-lib/testing_api_cmd_wire.c b/src/exchange-lib/testing_api_cmd_wire.c
index 52fe2ebb8..e6fe9f97c 100644
--- a/src/exchange-lib/testing_api_cmd_wire.c
+++ b/src/exchange-lib/testing_api_cmd_wire.c
@@ -67,11 +67,6 @@ struct WireState
* Interpreter state.
*/
struct TALER_TESTING_Interpreter *is;
-
- /**
- * Connection to the exchange.
- */
- struct TALER_EXCHANGE_Handle *exchange;
};
@@ -171,7 +166,7 @@ wire_run (void *cls,
{
struct WireState *ws = cls;
ws->is = is;
- ws->wh = TALER_EXCHANGE_wire (ws->exchange,
+ ws->wh = TALER_EXCHANGE_wire (is->exchange,
&wire_cb,
ws);
}
@@ -217,7 +212,6 @@ wire_cleanup (void *cls,
*/
struct TALER_TESTING_Command
TALER_TESTING_cmd_wire (const char *label,
- struct TALER_EXCHANGE_Handle *exchange,
const char *expected_method,
const char *expected_fee,
unsigned int expected_response_code)
@@ -226,7 +220,6 @@ TALER_TESTING_cmd_wire (const char *label,
struct WireState *ws;
ws = GNUNET_new (struct WireState);
- ws->exchange = exchange;
ws->expected_method = expected_method;
ws->expected_fee = expected_fee;
ws->expected_response_code = expected_response_code;