exchange

Base system with REST service to issue digital coins, run by the payment service provider
Log | Files | Refs | Submodules | README | LICENSE

commit e352fdd356dd3d78c992b9355e68b392cb9d10c2
parent e21995f0009b4143e19f3a618bf8107c9bc94a50
Author: Christian Grothoff <christian@grothoff.org>
Date:   Fri, 21 Jul 2023 15:03:31 +0200

run wirewatch with specific account

Diffstat:
Msrc/testing/test_auditor_api.c | 2+-
Msrc/testing/test_exchange_api.c | 2+-
Msrc/testing/test_exchange_api_revocation.c | 5+++--
Msrc/testing/test_exchange_api_twisted.c | 5+++--
Msrc/testing/test_exchange_p2p.c | 2+-
Msrc/testing/test_kyc_api.c | 2+-
6 files changed, 10 insertions(+), 8 deletions(-)

diff --git a/src/testing/test_auditor_api.c b/src/testing/test_auditor_api.c @@ -56,7 +56,7 @@ static struct TALER_TESTING_Credentials cred; * @param label label to use for the command. */ #define CMD_EXEC_WIREWATCH(label) \ - TALER_TESTING_cmd_exec_wirewatch (label, config_file) + TALER_TESTING_cmd_exec_wirewatch2 (label, config_file, "exchange-account-2") /** * Execute the taler-exchange-aggregator, closer and transfer commands with diff --git a/src/testing/test_exchange_api.c b/src/testing/test_exchange_api.c @@ -69,7 +69,7 @@ static bool uses_cs; * @param label label to use for the command. */ #define CMD_EXEC_WIREWATCH(label) \ - TALER_TESTING_cmd_exec_wirewatch (label, config_file) + TALER_TESTING_cmd_exec_wirewatch2 (label, config_file, "exchange-account-2") /** * Execute the taler-exchange-aggregator, closer and transfer commands with diff --git a/src/testing/test_exchange_api_revocation.c b/src/testing/test_exchange_api_revocation.c @@ -86,8 +86,9 @@ run (void *cls, /** * Run wire-watch to trigger the reserve creation. */ - TALER_TESTING_cmd_exec_wirewatch ("wirewatch-4", - config_file), + TALER_TESTING_cmd_exec_wirewatch2 ("wirewatch-4", + config_file, + "exchange-account-2"), /* Withdraw a 5 EUR coin, at fee of 1 ct */ TALER_TESTING_cmd_withdraw_amount ("withdraw-revocation-coin-1", "create-reserve-1", diff --git a/src/testing/test_exchange_api_twisted.c b/src/testing/test_exchange_api_twisted.c @@ -68,8 +68,9 @@ static struct GNUNET_OS_Process *twisterd; static struct TALER_TESTING_Command CMD_EXEC_WIREWATCH (const char *label) { - return TALER_TESTING_cmd_exec_wirewatch (label, - config_file); + return TALER_TESTING_cmd_exec_wirewatch2 (label, + config_file, + "exchange-account-2"); } diff --git a/src/testing/test_exchange_p2p.c b/src/testing/test_exchange_p2p.c @@ -62,7 +62,7 @@ static bool uses_cs; * @param label label to use for the command. */ #define CMD_EXEC_WIREWATCH(label) \ - TALER_TESTING_cmd_exec_wirewatch (label, config_file) + TALER_TESTING_cmd_exec_wirewatch2 (label, config_file, "exchange-account-2") /** * Execute the taler-exchange-aggregator, closer and transfer commands with diff --git a/src/testing/test_kyc_api.c b/src/testing/test_kyc_api.c @@ -53,7 +53,7 @@ struct TALER_TESTING_Credentials cred; * @param label label to use for the command. */ #define CMD_EXEC_WIREWATCH(label) \ - TALER_TESTING_cmd_exec_wirewatch (label, CONFIG_FILE) + TALER_TESTING_cmd_exec_wirewatch2 (label, CONFIG_FILE, "exchange-account-2") /** * Execute the taler-exchange-aggregator, closer and transfer commands with