diff options
author | Florian Dold <florian.dold@gmail.com> | 2020-01-18 04:31:55 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2020-01-18 04:31:55 +0100 |
commit | 5d192295616528e54c47741b835c3f748c07d3ac (patch) | |
tree | 7182dc50ad14c01d041ada571c0f0091cd40ca05 /src/bank-lib/bank_api_admin.c | |
parent | 0cebe32fc69324e3a656b58a528115b44e88b51c (diff) | |
download | exchange-5d192295616528e54c47741b835c3f748c07d3ac.tar.xz |
dce: redundant args
Diffstat (limited to 'src/bank-lib/bank_api_admin.c')
-rw-r--r-- | src/bank-lib/bank_api_admin.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/bank-lib/bank_api_admin.c b/src/bank-lib/bank_api_admin.c index e3c9f6898..979e0b068 100644 --- a/src/bank-lib/bank_api_admin.c +++ b/src/bank-lib/bank_api_admin.c @@ -161,7 +161,6 @@ handle_admin_add_incoming_finished (void *cls, * to the operators of the bank. * * @param ctx curl context for the event loop - * @param account_base_url URL of the bank (money flows into this account) * @param auth authentication data to send to the bank * @param reserve_pub wire transfer subject for the transfer * @param amount amount that was deposited @@ -174,7 +173,6 @@ handle_admin_add_incoming_finished (void *cls, */ struct TALER_BANK_AdminAddIncomingHandle * TALER_BANK_admin_add_incoming (struct GNUNET_CURL_Context *ctx, - const char *account_base_url, const struct TALER_BANK_AuthenticationData *auth, const struct TALER_ReservePublicKeyP *reserve_pub, @@ -202,7 +200,7 @@ TALER_BANK_admin_add_incoming (struct GNUNET_CURL_Context *ctx, aai = GNUNET_new (struct TALER_BANK_AdminAddIncomingHandle); aai->cb = res_cb; aai->cb_cls = res_cb_cls; - aai->request_url = TALER_url_join (account_base_url, + aai->request_url = TALER_url_join (auth->wire_gateway_url, "admin/add-incoming", NULL); if (NULL == aai->request_url) |