From 6ac3c6cd4d6e1e67ea34348057a20404969f5481 Mon Sep 17 00:00:00 2001 From: Marcello Stanisci Date: Mon, 19 Feb 2018 15:38:21 +0100 Subject: bank-check test cmd offers exchange url as trait. --- src/exchange-lib/testing_api_cmd_bank_check.c | 3 +-- src/include/taler_testing_lib.h | 2 +- src/include/taler_util.h | 3 +++ 3 files changed, 5 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/exchange-lib/testing_api_cmd_bank_check.c b/src/exchange-lib/testing_api_cmd_bank_check.c index ab5522441..8c4ee2c44 100644 --- a/src/exchange-lib/testing_api_cmd_bank_check.c +++ b/src/exchange-lib/testing_api_cmd_bank_check.c @@ -148,8 +148,6 @@ check_bank_transfer_traits (void *cls, const char *trait, unsigned int index) { - - struct BankCheckState *bcs = cls; GNUNET_assert (GNUNET_OK == @@ -162,6 +160,7 @@ check_bank_transfer_traits (void *cls, struct TALER_TESTING_Trait traits[] = { TALER_TESTING_make_trait_transfer_subject (0, bcs->subject), TALER_TESTING_make_trait_wtid (0, &bcs->wtid), + TALER_TESTING_make_trait_url (0, bcs->exchange_base_url), TALER_TESTING_trait_end () }; diff --git a/src/include/taler_testing_lib.h b/src/include/taler_testing_lib.h index f2219dcf5..f8063fe3c 100644 --- a/src/include/taler_testing_lib.h +++ b/src/include/taler_testing_lib.h @@ -882,7 +882,7 @@ TALER_TESTING_get_trait_reserve_priv * @param cmd command to extract trait from * @param selector which process to pick if @a cmd has multiple * on offer - * @param coin_priv[out] set to address of the pointer to the + * @param processp[out] set to address of the pointer to the * process * @return #GNUNET_OK on success */ diff --git a/src/include/taler_util.h b/src/include/taler_util.h index 407521c6e..2bdc888a6 100644 --- a/src/include/taler_util.h +++ b/src/include/taler_util.h @@ -31,6 +31,9 @@ #define TALER_LOG_DEBUG(...) \ GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, __VA_ARGS__) +#define TALER_LOG_INFO(...) \ + GNUNET_log (GNUNET_ERROR_TYPE_INFO, __VA_ARGS__) + #define TALER_LOG_WARNING(...) \ GNUNET_log (GNUNET_ERROR_TYPE_WARNING, __VA_ARGS__) -- cgit v1.2.3