gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-exchange] 01/02: remove redundant arg


From: gnunet
Subject: [taler-exchange] 01/02: remove redundant arg
Date: Sat, 18 Jan 2020 04:20:36 +0100

This is an automated email from the git hooks/post-receive script.

dold pushed a commit to branch master
in repository exchange.

commit 47698761d03b9de3cace8c58e814667444a7b73b
Author: Florian Dold <address@hidden>
AuthorDate: Sat Jan 18 04:12:51 2020 +0100

    remove redundant arg
---
 src/include/taler_testing_lib.h               | 3 ---
 src/lib/test_bank_api.c                       | 2 --
 src/lib/test_bank_api_twisted.c               | 1 -
 src/lib/testing_api_cmd_bank_history_credit.c | 5 +----
 4 files changed, 1 insertion(+), 10 deletions(-)

diff --git a/src/include/taler_testing_lib.h b/src/include/taler_testing_lib.h
index 781f1b13..4c723def 100644
--- a/src/include/taler_testing_lib.h
+++ b/src/include/taler_testing_lib.h
@@ -811,8 +811,6 @@ TALER_TESTING_has_in_name (const char *prog,
  * Make a credit "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
@@ -823,7 +821,6 @@ TALER_TESTING_has_in_name (const char *prog,
  */
 struct TALER_TESTING_Command
 TALER_TESTING_cmd_bank_credits (const char *label,
-                                const char *account_url,
                                 const struct
                                 TALER_BANK_AuthenticationData *auth,
                                 const char *start_row_reference,
diff --git a/src/lib/test_bank_api.c b/src/lib/test_bank_api.c
index bbb957bd..6e34399a 100644
--- a/src/lib/test_bank_api.c
+++ b/src/lib/test_bank_api.c
@@ -69,7 +69,6 @@ run (void *cls,
   {
     struct TALER_TESTING_Command commands[] = {
       TALER_TESTING_cmd_bank_credits ("history-0",
-                                      bc.exchange_auth.wire_gateway_url,
                                       &bc.exchange_auth,
                                       NULL,
                                       1),
@@ -79,7 +78,6 @@ run (void *cls,
                                             &bc.exchange_auth,
                                             bc.user42_payto),
       TALER_TESTING_cmd_bank_credits ("history-1c",
-                                      bc.exchange_auth.wire_gateway_url,
                                       &bc.exchange_auth,
                                       NULL,
                                       5),
diff --git a/src/lib/test_bank_api_twisted.c b/src/lib/test_bank_api_twisted.c
index e0014880..2ec95ec0 100644
--- a/src/lib/test_bank_api_twisted.c
+++ b/src/lib/test_bank_api_twisted.c
@@ -91,7 +91,6 @@ run (void *cls,
     TALER_TESTING_cmd_wait_service ("wait-service",
                                     twister_url),
     TALER_TESTING_cmd_bank_credits ("history-0",
-                                    bc.exchange_auth.wire_gateway_url,
                                     &bc.exchange_auth,
                                     NULL,
                                     5),
diff --git a/src/lib/testing_api_cmd_bank_history_credit.c 
b/src/lib/testing_api_cmd_bank_history_credit.c
index bb86a9b4..85a67f9d 100644
--- a/src/lib/testing_api_cmd_bank_history_credit.c
+++ b/src/lib/testing_api_cmd_bank_history_credit.c
@@ -564,8 +564,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 start_row_reference reference to a command that can
  *        offer a row identifier, to be used as the starting row
  *        to accept in the result.
@@ -574,7 +572,6 @@ history_cleanup (void *cls,
  */
 struct TALER_TESTING_Command
 TALER_TESTING_cmd_bank_credits (const char *label,
-                                const char *account_url,
                                 const struct
                                 TALER_BANK_AuthenticationData *auth,
                                 const char *start_row_reference,
@@ -583,7 +580,7 @@ TALER_TESTING_cmd_bank_credits (const char *label,
   struct HistoryState *hs;
 
   hs = GNUNET_new (struct HistoryState);
-  hs->account_url = GNUNET_strdup (account_url);
+  hs->account_url = GNUNET_strdup (auth->wire_gateway_url);
   hs->start_row_reference = start_row_reference;
   hs->num_results = num_results;
   hs->auth = *auth;

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]