remove more redundant args
This commit is contained in:
parent
5d19229561
commit
8e0180b257
@ -1439,7 +1439,6 @@ process_debits (void *cls)
|
||||
wa->section_name);
|
||||
GNUNET_assert (NULL == wa->dhh);
|
||||
wa->dhh = TALER_BANK_debit_history (ctx,
|
||||
wa->auth.wire_gateway_url,
|
||||
&wa->auth,
|
||||
wa->out_wire_off,
|
||||
INT64_MAX,
|
||||
@ -1848,7 +1847,6 @@ process_credits (void *cls)
|
||||
"Starting bank CREDIT history of account `%s'\n",
|
||||
wa->section_name);
|
||||
wa->chh = TALER_BANK_credit_history (ctx,
|
||||
wa->auth.wire_gateway_url,
|
||||
&wa->auth,
|
||||
wa->in_wire_off,
|
||||
INT64_MAX,
|
||||
|
@ -218,7 +218,6 @@ handle_history_finished (void *cls,
|
||||
* Request the credit history of the exchange's bank account.
|
||||
*
|
||||
* @param ctx curl context for the event loop
|
||||
* @param bank_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
|
||||
@ -235,7 +234,6 @@ handle_history_finished (void *cls,
|
||||
*/
|
||||
struct TALER_BANK_CreditHistoryHandle *
|
||||
TALER_BANK_credit_history (struct GNUNET_CURL_Context *ctx,
|
||||
const char *bank_base_url,
|
||||
const struct TALER_BANK_AuthenticationData *auth,
|
||||
uint64_t start_row,
|
||||
int64_t num_results,
|
||||
@ -267,7 +265,7 @@ TALER_BANK_credit_history (struct GNUNET_CURL_Context *ctx,
|
||||
hh = GNUNET_new (struct TALER_BANK_CreditHistoryHandle);
|
||||
hh->hcb = hres_cb;
|
||||
hh->hcb_cls = hres_cb_cls;
|
||||
hh->request_url = TALER_url_join (bank_base_url,
|
||||
hh->request_url = TALER_url_join (auth->wire_gateway_url,
|
||||
url,
|
||||
NULL);
|
||||
GNUNET_free (url);
|
||||
@ -277,7 +275,7 @@ TALER_BANK_credit_history (struct GNUNET_CURL_Context *ctx,
|
||||
GNUNET_break (0);
|
||||
return NULL;
|
||||
}
|
||||
hh->bank_base_url = GNUNET_strdup (bank_base_url);
|
||||
hh->bank_base_url = GNUNET_strdup (auth->wire_gateway_url);
|
||||
GNUNET_log (GNUNET_ERROR_TYPE_INFO,
|
||||
"Requesting history at `%s'\n",
|
||||
hh->request_url);
|
||||
|
@ -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);
|
||||
|
@ -232,7 +232,6 @@ static void
|
||||
execute_history ()
|
||||
{
|
||||
hh = TALER_BANK_credit_history (ctx,
|
||||
destination_account_url,
|
||||
&auth,
|
||||
start_row,
|
||||
-10,
|
||||
|
@ -524,7 +524,6 @@ find_transfers (void *cls)
|
||||
wa_pos->auth.wire_gateway_url);
|
||||
|
||||
hh = TALER_BANK_credit_history (ctx,
|
||||
wa_pos->auth.wire_gateway_url,
|
||||
&wa_pos->auth,
|
||||
last_row_off,
|
||||
batch_size,
|
||||
|
@ -165,7 +165,7 @@ TALER_BANK_admin_add_incoming_cancel (struct
|
||||
/**
|
||||
* Prepare for exeuction of a wire transfer.
|
||||
*
|
||||
* @param destination_account_url payto:// URL identifying where to send the money
|
||||
* @param destination_account_uri payto:// URL identifying where to send the money
|
||||
* @param amount amount to transfer, already rounded
|
||||
* @param exchange_base_url base URL of this exchange (included in subject
|
||||
* to facilitate use of tracking API by merchant backend)
|
||||
@ -315,7 +315,6 @@ typedef int
|
||||
* Request the wire credit history of an 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
|
||||
* @param num_results how many results do we want; negative numbers to go into the past,
|
||||
@ -329,7 +328,6 @@ typedef int
|
||||
*/
|
||||
struct TALER_BANK_CreditHistoryHandle *
|
||||
TALER_BANK_credit_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,
|
||||
@ -442,7 +440,6 @@ typedef int
|
||||
*/
|
||||
struct TALER_BANK_DebitHistoryHandle *
|
||||
TALER_BANK_debit_history (struct GNUNET_CURL_Context *ctx,
|
||||
const char *bank_base_url,
|
||||
const struct TALER_BANK_AuthenticationData *auth,
|
||||
uint64_t start_row,
|
||||
int64_t num_results,
|
||||
|
@ -523,7 +523,6 @@ history_run (void *cls,
|
||||
hs->total = build_history (is,
|
||||
&hs->h);
|
||||
hs->hh = TALER_BANK_credit_history (is->ctx,
|
||||
hs->account_url,
|
||||
&hs->auth,
|
||||
row_id,
|
||||
hs->num_results,
|
||||
|
@ -523,7 +523,6 @@ history_run (void *cls,
|
||||
}
|
||||
hs->total = build_history (is, &hs->h);
|
||||
hs->hh = TALER_BANK_debit_history (is->ctx,
|
||||
hs->account_url,
|
||||
&hs->auth,
|
||||
row_id,
|
||||
hs->num_results,
|
||||
|
Loading…
Reference in New Issue
Block a user