From 531272a92a5aa08559436138ff5106a6bff1b361 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Wed, 2 Mar 2016 21:02:46 +0100 Subject: towards fixing #4230 --- src/wire/plugin_wire_test.c | 20 ++++++-------------- 1 file changed, 6 insertions(+), 14 deletions(-) (limited to 'src/wire') diff --git a/src/wire/plugin_wire_test.c b/src/wire/plugin_wire_test.c index 8a6f98ea2..d6bf411c1 100644 --- a/src/wire/plugin_wire_test.c +++ b/src/wire/plugin_wire_test.c @@ -43,6 +43,11 @@ struct TestClosure */ char *currency; + /** + * Number of the account that the exchange has at the bank. + */ + uint64_t exchange_account_no; + /** * Handle to the bank task, or NULL. */ @@ -482,7 +487,7 @@ test_execute_wire_transfer (void *cls, GNUNET_break (0); return NULL; } - + eh = GNUNET_new (struct TALER_WIRE_ExecuteHandle); eh->cc = cc; eh->cc_cls = cc_cls; @@ -551,19 +556,6 @@ libtaler_plugin_wire_test_init (void *cls) return NULL; } tc = GNUNET_new (struct TestClosure); - if (GNUNET_OK != - GNUNET_CONFIGURATION_get_value_string (cfg, - "mint", - "CURRENCY", - &tc->currency)) - { - GNUNET_log_config_missing (GNUNET_ERROR_TYPE_ERROR, - "mint", - "CURRENCY"); - GNUNET_free (uri); - GNUNET_free (tc); - return NULL; - } tc->bank = TALER_BANK_init (uri); if (NULL == tc->bank) { -- cgit v1.2.3