From c38f521dd8342a609a11daa8b5d3916cb517efdd Mon Sep 17 00:00:00 2001 From: Marcello Stanisci Date: Tue, 18 Dec 2018 16:09:17 +0100 Subject: /deposit: #5284. --- src/exchange-lib/testing_api_cmd_deposit.c | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'src/exchange-lib/testing_api_cmd_deposit.c') diff --git a/src/exchange-lib/testing_api_cmd_deposit.c b/src/exchange-lib/testing_api_cmd_deposit.c index 18d409e2..d0cfd62d 100644 --- a/src/exchange-lib/testing_api_cmd_deposit.c +++ b/src/exchange-lib/testing_api_cmd_deposit.c @@ -87,11 +87,6 @@ struct DepositState */ struct TALER_TESTING_Interpreter *is; - /** - * Exchange connection. - */ - struct TALER_EXCHANGE_Handle *exchange; - /** * Task scheduled to try later. */ @@ -129,7 +124,6 @@ struct DepositState * deposit confirmation. */ struct TALER_ExchangeSignatureP exchange_sig; - }; @@ -363,7 +357,7 @@ deposit_run (void *cls, &coin_sig.eddsa_signature)); } ds->dh = TALER_EXCHANGE_deposit - (ds->exchange, + (is->exchange, &amount, wire_deadline, ds->wire_details, @@ -496,7 +490,6 @@ deposit_traits (void *cls, * Create a "deposit" command. * * @param label command label. - * @param exchange exchange connection. * @param coin_reference reference to any operation that can * provide a coin. * @param coin_index if @a withdraw_reference offers an array of @@ -518,7 +511,6 @@ deposit_traits (void *cls, struct TALER_TESTING_Command TALER_TESTING_cmd_deposit (const char *label, - struct TALER_EXCHANGE_Handle *exchange, const char *coin_reference, unsigned int coin_index, json_t *wire_details, @@ -531,7 +523,6 @@ TALER_TESTING_cmd_deposit struct DepositState *ds; ds = GNUNET_new (struct DepositState); - ds->exchange = exchange; ds->coin_reference = coin_reference; ds->coin_index = coin_index; ds->wire_details = wire_details; -- cgit v1.2.3