diff options
author | Christian Grothoff <christian@grothoff.org> | 2016-03-02 21:02:46 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2016-03-02 21:02:46 +0100 |
commit | 531272a92a5aa08559436138ff5106a6bff1b361 (patch) | |
tree | 47ac2d3e701cb01048eab816caaec2f7a959912c /src/wire | |
parent | 9f837ad6cdcc8c837a6014abe555909ff9ce094c (diff) | |
download | exchange-531272a92a5aa08559436138ff5106a6bff1b361.tar.gz exchange-531272a92a5aa08559436138ff5106a6bff1b361.tar.bz2 exchange-531272a92a5aa08559436138ff5106a6bff1b361.zip |
towards fixing #4230
Diffstat (limited to 'src/wire')
-rw-r--r-- | src/wire/plugin_wire_test.c | 20 |
1 files changed, 6 insertions, 14 deletions
diff --git a/src/wire/plugin_wire_test.c b/src/wire/plugin_wire_test.c index 8a6f98ea..d6bf411c 100644 --- a/src/wire/plugin_wire_test.c +++ b/src/wire/plugin_wire_test.c @@ -44,6 +44,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. */ struct GNUNET_SCHEDULER_Task *bt; @@ -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) { |