aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMarcello Stanisci <stanisci.m@gmail.com>2018-02-19 15:38:21 +0100
committerMarcello Stanisci <stanisci.m@gmail.com>2018-02-19 15:38:21 +0100
commit6ac3c6cd4d6e1e67ea34348057a20404969f5481 (patch)
treed042c58a86378321d46369525a45aae6641df9aa /src
parent76ba8f1291bc7edaaabc0095a4e981fc14295521 (diff)
bank-check test cmd offers exchange url as trait.
Diffstat (limited to 'src')
-rw-r--r--src/exchange-lib/testing_api_cmd_bank_check.c3
-rw-r--r--src/include/taler_testing_lib.h2
-rw-r--r--src/include/taler_util.h3
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
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__)