aboutsummaryrefslogtreecommitdiff
path: root/src/auditor
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2020-01-17 23:40:33 +0100
committerFlorian Dold <florian.dold@gmail.com>2020-01-17 23:40:44 +0100
commitd95f2a9e437b946bba66c2a0054524fc2e320621 (patch)
treed09f50a8aa04b57877139a3934d669c4a316d533 /src/auditor
parentf0d8311b1ccbe9e816127ca9a4de65a6f605c4b9 (diff)
DCE, part one
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);