summaryrefslogtreecommitdiff
path: root/src/bank-lib/bank_api_debit.c
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2020-01-18 04:39:52 +0100
committerFlorian Dold <florian.dold@gmail.com>2020-01-18 04:39:52 +0100
commit8e0180b2576054c847935bb161ada81d697765fa (patch)
tree59b64a6a73987710ff37a021e70b8419c274116e /src/bank-lib/bank_api_debit.c
parent5d192295616528e54c47741b835c3f748c07d3ac (diff)
downloadexchange-8e0180b2576054c847935bb161ada81d697765fa.tar.gz
exchange-8e0180b2576054c847935bb161ada81d697765fa.tar.bz2
exchange-8e0180b2576054c847935bb161ada81d697765fa.zip
remove more redundant args
Diffstat (limited to 'src/bank-lib/bank_api_debit.c')
-rw-r--r--src/bank-lib/bank_api_debit.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/bank-lib/bank_api_debit.c b/src/bank-lib/bank_api_debit.c
index 652dde8d..0e218eb4 100644
--- a/src/bank-lib/bank_api_debit.c
+++ b/src/bank-lib/bank_api_debit.c
@@ -215,7 +215,6 @@ handle_history_finished (void *cls,
* Request the debit history of the exchange's bank account.
*
* @param ctx curl context for the event loop
- * @param account_base_url URL of the base INCLUDING account number
* @param auth authentication data to use
* @param start_row from which row on do we want to get results,
* use UINT64_MAX for the latest; exclusive
@@ -232,7 +231,6 @@ handle_history_finished (void *cls,
*/
struct TALER_BANK_DebitHistoryHandle *
TALER_BANK_debit_history (struct GNUNET_CURL_Context *ctx,
- const char *account_base_url,
const struct TALER_BANK_AuthenticationData *auth,
uint64_t start_row,
int64_t num_results,
@@ -264,7 +262,7 @@ TALER_BANK_debit_history (struct GNUNET_CURL_Context *ctx,
hh = GNUNET_new (struct TALER_BANK_DebitHistoryHandle);
hh->hcb = hres_cb;
hh->hcb_cls = hres_cb_cls;
- hh->request_url = TALER_url_join (account_base_url,
+ hh->request_url = TALER_url_join (auth->wire_gateway_url,
url,
NULL);
GNUNET_free (url);