exchange

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

commit 40a64e8f0c4da9d99f1352004b572052da1cecb7
parent cb55c1a3af9f56a6da38e5589e72df0b70d355b1
Author: Christian Grothoff <christian@grothoff.org>
Date:   Mon,  2 Apr 2018 14:33:26 +0200

fix post-merge FTBFS

Diffstat:
Msrc/bank-lib/bank_twisted.conf | 3+++
Msrc/bank-lib/test_bank_api_with_fakebank_twisted.c | 8++++----
Msrc/exchange-lib/test_exchange_api_twisted.c | 3++-
3 files changed, 9 insertions(+), 5 deletions(-)

diff --git a/src/bank-lib/bank_twisted.conf b/src/bank-lib/bank_twisted.conf @@ -29,5 +29,8 @@ currency = KUDOS [bank] http_port = 8081 +[account-1] +URL = payto://x-taler-bank/localhost:8081/1 + [exchange-wire-test] bank_url = http://localhost:8081/ diff --git a/src/bank-lib/test_bank_api_with_fakebank_twisted.c b/src/bank-lib/test_bank_api_with_fakebank_twisted.c @@ -75,9 +75,7 @@ static void run (void *cls, struct TALER_TESTING_Interpreter *is) { - struct TALER_TESTING_Command commands[] = { - TALER_TESTING_cmd_bank_history ("history-0", fakebank_url, EXCHANGE_ACCOUNT_NUMBER, @@ -110,6 +108,7 @@ purge_process (struct GNUNET_OS_Process *process) GNUNET_OS_process_destroy (process); } + int main (int argc, char * const *argv) @@ -122,13 +121,14 @@ main (int argc, "DEBUG", NULL); if (NULL == (fakebank_url = TALER_TESTING_prepare_fakebank - (CONFIG_FILE))) + (CONFIG_FILE, + "account-1"))) return 77; if (NULL == (twister_url = TALER_TESTING_prepare_twister (CONFIG_FILE))) return 77; - + if (NULL == (twisterd = TALER_TESTING_run_twister (CONFIG_FILE))) return 77; diff --git a/src/exchange-lib/test_exchange_api_twisted.c b/src/exchange-lib/test_exchange_api_twisted.c @@ -179,7 +179,8 @@ main (int argc, "DEBUG", NULL); if (NULL == (fakebank_url = TALER_TESTING_prepare_fakebank - (CONFIG_FILE))) + (CONFIG_FILE, + "account-2"))) return 77; if (NULL == (twister_url = TALER_TESTING_prepare_twister