dce: redundant arg
This commit is contained in:
parent
47698761d0
commit
0cebe32fc6
@ -187,9 +187,7 @@ CMD_TRANSFER_TO_EXCHANGE (char *label, char *amount)
|
||||
{
|
||||
return TALER_TESTING_cmd_admin_add_incoming_retry
|
||||
(TALER_TESTING_cmd_admin_add_incoming (label, amount,
|
||||
exchange_bank_account.
|
||||
wire_gateway_url,
|
||||
NULL,
|
||||
&exchange_bank_account,
|
||||
user_payto_url));
|
||||
}
|
||||
|
||||
|
@ -831,8 +831,6 @@ TALER_TESTING_cmd_bank_credits (const char *label,
|
||||
* Make a debit "history" CMD.
|
||||
*
|
||||
* @param label command label.
|
||||
* @param account_url base URL of the account offering the "history"
|
||||
* operation.
|
||||
* @param auth authentication data
|
||||
* @param start_row_reference reference to a command that can
|
||||
* offer a row identifier, to be used as the starting row
|
||||
@ -842,7 +840,6 @@ TALER_TESTING_cmd_bank_credits (const char *label,
|
||||
*/
|
||||
struct TALER_TESTING_Command
|
||||
TALER_TESTING_cmd_bank_debits (const char *label,
|
||||
const char *account_url,
|
||||
const struct TALER_BANK_AuthenticationData *auth,
|
||||
const char *start_row_reference,
|
||||
long long num_results);
|
||||
@ -864,7 +861,6 @@ TALER_TESTING_cmd_bank_debits (const char *label,
|
||||
struct TALER_TESTING_Command
|
||||
TALER_TESTING_cmd_transfer (const char *label,
|
||||
const char *amount,
|
||||
const char *bank_base_url,
|
||||
const struct TALER_BANK_AuthenticationData *auth,
|
||||
const char *payto_debit_account,
|
||||
const char *payto_credit_account,
|
||||
@ -879,8 +875,6 @@ TALER_TESTING_cmd_transfer (const char *label,
|
||||
*
|
||||
* @param label command label.
|
||||
* @param amount amount to transfer.
|
||||
* @param exchange_base_url base URL of the exchange account that receives this
|
||||
* wire transer (which account receives money).
|
||||
* @param payto_debit_account which account sends money.
|
||||
* @param auth authentication data
|
||||
* @return the command.
|
||||
@ -888,7 +882,6 @@ TALER_TESTING_cmd_transfer (const char *label,
|
||||
struct TALER_TESTING_Command
|
||||
TALER_TESTING_cmd_admin_add_incoming (const char *label,
|
||||
const char *amount,
|
||||
const char *exchange_base_url,
|
||||
const struct
|
||||
TALER_BANK_AuthenticationData *auth,
|
||||
const char *payto_debit_account);
|
||||
|
@ -82,7 +82,6 @@ static struct TALER_TESTING_BankConfiguration bc;
|
||||
*/
|
||||
#define CMD_TRANSFER_TO_EXCHANGE(label,amount) \
|
||||
TALER_TESTING_cmd_admin_add_incoming (label, amount, \
|
||||
bc.exchange_auth.wire_gateway_url, \
|
||||
&bc.exchange_auth, \
|
||||
bc.user42_payto)
|
||||
|
||||
|
@ -74,7 +74,6 @@ run (void *cls,
|
||||
1),
|
||||
TALER_TESTING_cmd_admin_add_incoming ("credit-1",
|
||||
"KUDOS:5.01",
|
||||
bc.exchange_auth.wire_gateway_url,
|
||||
&bc.exchange_auth,
|
||||
bc.user42_payto),
|
||||
TALER_TESTING_cmd_bank_credits ("history-1c",
|
||||
@ -82,25 +81,21 @@ run (void *cls,
|
||||
NULL,
|
||||
5),
|
||||
TALER_TESTING_cmd_bank_debits ("history-1d",
|
||||
bc.exchange_auth.wire_gateway_url,
|
||||
&bc.exchange_auth,
|
||||
NULL,
|
||||
5),
|
||||
TALER_TESTING_cmd_admin_add_incoming ("credit-2",
|
||||
"KUDOS:3.21",
|
||||
bc.exchange_auth.wire_gateway_url,
|
||||
&bc.exchange_auth,
|
||||
bc.user42_payto),
|
||||
TALER_TESTING_cmd_transfer ("debit-1",
|
||||
"KUDOS:3.22",
|
||||
bc.exchange_auth.wire_gateway_url,
|
||||
&bc.exchange_auth,
|
||||
bc.exchange_payto,
|
||||
bc.user42_payto,
|
||||
&wtid,
|
||||
"http://exchange.example.com/"),
|
||||
TALER_TESTING_cmd_bank_debits ("history-2b",
|
||||
bc.exchange_auth.wire_gateway_url,
|
||||
&bc.exchange_auth,
|
||||
NULL,
|
||||
5),
|
||||
|
@ -82,7 +82,6 @@ static struct TALER_TESTING_BankConfiguration bc;
|
||||
*/
|
||||
#define CMD_TRANSFER_TO_EXCHANGE(label,amount) \
|
||||
TALER_TESTING_cmd_admin_add_incoming (label, amount, \
|
||||
bc.exchange_auth.wire_gateway_url, \
|
||||
&bc.exchange_auth, \
|
||||
bc.user42_payto)
|
||||
|
||||
|
@ -68,7 +68,6 @@ run (void *cls,
|
||||
*/
|
||||
TALER_TESTING_cmd_admin_add_incoming ("create-reserve-1",
|
||||
"EUR:5.01",
|
||||
bc.exchange_auth.wire_gateway_url,
|
||||
&bc.exchange_auth,
|
||||
bc.user42_payto),
|
||||
TALER_TESTING_cmd_check_bank_admin_transfer ("check-create-reserve-1",
|
||||
|
@ -91,7 +91,6 @@ static struct GNUNET_OS_Process *twisterd;
|
||||
*/
|
||||
#define CMD_TRANSFER_TO_EXCHANGE(label,amount) \
|
||||
TALER_TESTING_cmd_admin_add_incoming (label, amount, \
|
||||
bc.exchange_auth.wire_gateway_url, \
|
||||
&bc.exchange_auth, \
|
||||
bc.user42_payto)
|
||||
|
||||
|
@ -54,7 +54,6 @@ transfer_to_exchange (const char *label,
|
||||
{
|
||||
return TALER_TESTING_cmd_admin_add_incoming (label,
|
||||
amount,
|
||||
bc.exchange_auth.wire_gateway_url,
|
||||
&bc.exchange_auth,
|
||||
bc.user42_payto);
|
||||
}
|
||||
|
@ -484,8 +484,6 @@ make_command (const char *label,
|
||||
*
|
||||
* @param label command label.
|
||||
* @param amount amount to transfer.
|
||||
* @param exchange_base_url base URL of the account that receives this
|
||||
* wire transer (which account receives money).
|
||||
* @param payto_debit_account which account sends money.
|
||||
* @param auth authentication data
|
||||
* @return the command.
|
||||
@ -494,13 +492,12 @@ struct TALER_TESTING_Command
|
||||
TALER_TESTING_cmd_admin_add_incoming
|
||||
(const char *label,
|
||||
const char *amount,
|
||||
const char *exchange_base_url,
|
||||
const struct TALER_BANK_AuthenticationData *auth,
|
||||
const char *payto_debit_account)
|
||||
{
|
||||
return make_command (label,
|
||||
make_fts (amount,
|
||||
exchange_base_url,
|
||||
auth->wire_gateway_url,
|
||||
auth,
|
||||
payto_debit_account));
|
||||
}
|
||||
|
@ -566,8 +566,6 @@ history_cleanup (void *cls,
|
||||
* Make a "history" CMD.
|
||||
*
|
||||
* @param label command label.
|
||||
* @param account_url base URL of the account offering the "history"
|
||||
* operation.
|
||||
* @param auth login data to use
|
||||
* @param start_row_reference reference to a command that can
|
||||
* offer a row identifier, to be used as the starting row
|
||||
@ -577,7 +575,6 @@ history_cleanup (void *cls,
|
||||
*/
|
||||
struct TALER_TESTING_Command
|
||||
TALER_TESTING_cmd_bank_debits (const char *label,
|
||||
const char *account_url,
|
||||
const struct TALER_BANK_AuthenticationData *auth,
|
||||
const char *start_row_reference,
|
||||
long long num_results)
|
||||
@ -585,7 +582,7 @@ TALER_TESTING_cmd_bank_debits (const char *label,
|
||||
struct HistoryState *hs;
|
||||
|
||||
hs = GNUNET_new (struct HistoryState);
|
||||
hs->account_url = account_url;
|
||||
hs->account_url = auth->wire_gateway_url;
|
||||
hs->start_row_reference = start_row_reference;
|
||||
hs->num_results = num_results;
|
||||
hs->auth = *auth;
|
||||
|
@ -334,8 +334,6 @@ transfer_traits (void *cls,
|
||||
*
|
||||
* @param label command label.
|
||||
* @param amount amount to transfer.
|
||||
* @param account_base_url base URL of the account that implements this
|
||||
* wire transer (which account gives money).
|
||||
* @param auth authentication data to use
|
||||
* @param payto_credit_account which account receives money.
|
||||
* @param wtid wire transfer identifier to use
|
||||
@ -346,7 +344,6 @@ struct TALER_TESTING_Command
|
||||
TALER_TESTING_cmd_transfer
|
||||
(const char *label,
|
||||
const char *amount,
|
||||
const char *account_base_url,
|
||||
const struct TALER_BANK_AuthenticationData *auth,
|
||||
const char *payto_debit_account,
|
||||
const char *payto_credit_account,
|
||||
@ -356,7 +353,7 @@ TALER_TESTING_cmd_transfer
|
||||
struct TransferState *fts;
|
||||
|
||||
fts = GNUNET_new (struct TransferState);
|
||||
fts->account_debit_url = account_base_url;
|
||||
fts->account_debit_url = auth->wire_gateway_url;
|
||||
fts->exchange_base_url = exchange_base_url;
|
||||
fts->payto_debit_account = GNUNET_strdup (payto_debit_account);
|
||||
fts->payto_credit_account = payto_credit_account;
|
||||
|
Loading…
Reference in New Issue
Block a user