aboutsummaryrefslogtreecommitdiff
path: root/src/auditor
diff options
context:
space:
mode:
Diffstat (limited to 'src/auditor')
-rw-r--r--src/auditor/taler-wire-auditor.c36
1 files changed, 0 insertions, 36 deletions
diff --git a/src/auditor/taler-wire-auditor.c b/src/auditor/taler-wire-auditor.c
index af23d1216..d3d90aedb 100644
--- a/src/auditor/taler-wire-auditor.c
+++ b/src/auditor/taler-wire-auditor.c
@@ -71,11 +71,6 @@ struct WireAccount
struct TALER_BANK_AuthenticationData auth;
/**
- * Our bank account number.
- */
- struct TALER_Account account;
-
- /**
* Name of the section that configures this account.
*/
char *section_name;
@@ -651,7 +646,6 @@ do_shutdown (void *cls)
wa_tail,
wa);
TALER_BANK_auth_free (&wa->auth);
- TALER_BANK_account_free (&wa->account);
GNUNET_free (wa->section_name);
GNUNET_free (wa);
}
@@ -2072,36 +2066,6 @@ process_account_cb (void *cls,
GNUNET_SCHEDULER_shutdown ();
return;
}
- if (GNUNET_OK !=
- TALER_BANK_account_parse_cfg (cfg,
- wa->section_name,
- &wa->account))
- {
- GNUNET_break (0);
- TALER_BANK_auth_free (&wa->auth);
- GNUNET_free (wa->section_name);
- GNUNET_free (wa);
- fprintf (stderr,
- "Failed to access bank account `%s'\n",
- wa->section_name);
- global_ret = 1;
- GNUNET_SCHEDULER_shutdown ();
- return;
- }
- if (TALER_PAC_X_TALER_BANK != wa->account.type)
- {
- GNUNET_break (0);
- TALER_BANK_account_free (&wa->account);
- TALER_BANK_auth_free (&wa->auth);
- GNUNET_free (wa->section_name);
- GNUNET_free (wa);
- fprintf (stderr,
- "Need x-taler-bank account URL in `%s'\n",
- wa->section_name);
- global_ret = 1;
- GNUNET_SCHEDULER_shutdown ();
- return;
- }
GNUNET_CONTAINER_DLL_insert (wa_head,
wa_tail,
wa);