From d95f2a9e437b946bba66c2a0054524fc2e320621 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Fri, 17 Jan 2020 23:40:33 +0100 Subject: DCE, part one --- src/exchange/taler-exchange-wirewatch.c | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'src/exchange/taler-exchange-wirewatch.c') diff --git a/src/exchange/taler-exchange-wirewatch.c b/src/exchange/taler-exchange-wirewatch.c index ab300b353..bc73e1d2b 100644 --- a/src/exchange/taler-exchange-wirewatch.c +++ b/src/exchange/taler-exchange-wirewatch.c @@ -56,11 +56,6 @@ struct WireAccount */ char *section_name; - /** - * Account information. - */ - struct TALER_Account account; - /** * Authentication data. */ @@ -212,7 +207,6 @@ shutdown_task (void *cls) GNUNET_CONTAINER_DLL_remove (wa_head, wa_tail, wa); - TALER_BANK_account_free (&wa->account); TALER_BANK_auth_free (&wa->auth); GNUNET_free (wa->section_name); GNUNET_free (wa); @@ -251,18 +245,6 @@ add_account_cb (void *cls, GNUNET_free (wa); return; } - if (GNUNET_OK != - TALER_BANK_account_parse_cfg (cfg, - ai->section_name, - &wa->account)) - { - GNUNET_log (GNUNET_ERROR_TYPE_MESSAGE, - "Failed to load account `%s'\n", - ai->section_name); - TALER_BANK_auth_free (&wa->auth); - GNUNET_free (wa); - return; - } wa->section_name = GNUNET_strdup (ai->section_name); GNUNET_CONTAINER_DLL_insert (wa_head, wa_tail, -- cgit v1.2.3