commit 6ac3c6cd4d6e1e67ea34348057a20404969f5481
parent 76ba8f1291bc7edaaabc0095a4e981fc14295521
Author: Marcello Stanisci <stanisci.m@gmail.com>
Date: Mon, 19 Feb 2018 15:38:21 +0100
bank-check test cmd offers exchange url as trait.
Diffstat:
3 files changed, 5 insertions(+), 3 deletions(-)
diff --git 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
@@ -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
@@ -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__)