diff options
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, | |||
161 | * to the operators of the bank. | 161 | * to the operators of the bank. |
162 | * | 162 | * |
163 | * @param ctx curl context for the event loop | 163 | * @param ctx curl context for the event loop |
164 | * @param account_base_url URL of the bank (money flows into this account) | ||
165 | * @param auth authentication data to send to the bank | 164 | * @param auth authentication data to send to the bank |
166 | * @param reserve_pub wire transfer subject for the transfer | 165 | * @param reserve_pub wire transfer subject for the transfer |
167 | * @param amount amount that was deposited | 166 | * @param amount amount that was deposited |
@@ -174,7 +173,6 @@ handle_admin_add_incoming_finished (void *cls, | |||
174 | */ | 173 | */ |
175 | struct TALER_BANK_AdminAddIncomingHandle * | 174 | struct TALER_BANK_AdminAddIncomingHandle * |
176 | TALER_BANK_admin_add_incoming (struct GNUNET_CURL_Context *ctx, | 175 | TALER_BANK_admin_add_incoming (struct GNUNET_CURL_Context *ctx, |
177 | const char *account_base_url, | ||
178 | const struct TALER_BANK_AuthenticationData *auth, | 176 | const struct TALER_BANK_AuthenticationData *auth, |
179 | const struct | 177 | const struct |
180 | TALER_ReservePublicKeyP *reserve_pub, | 178 | TALER_ReservePublicKeyP *reserve_pub, |
@@ -202,7 +200,7 @@ TALER_BANK_admin_add_incoming (struct GNUNET_CURL_Context *ctx, | |||
202 | aai = GNUNET_new (struct TALER_BANK_AdminAddIncomingHandle); | 200 | aai = GNUNET_new (struct TALER_BANK_AdminAddIncomingHandle); |
203 | aai->cb = res_cb; | 201 | aai->cb = res_cb; |
204 | aai->cb_cls = res_cb_cls; | 202 | aai->cb_cls = res_cb_cls; |
205 | aai->request_url = TALER_url_join (account_base_url, | 203 | aai->request_url = TALER_url_join (auth->wire_gateway_url, |
206 | "admin/add-incoming", | 204 | "admin/add-incoming", |
207 | NULL); | 205 | NULL); |
208 | if (NULL == aai->request_url) | 206 | if (NULL == aai->request_url) |