diff options
author | Christian Grothoff <christian@grothoff.org> | 2017-03-17 13:56:47 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2017-03-17 13:56:47 +0100 |
commit | 2d7d658e8b488bb155d977507bee31a1f95b912d (patch) | |
tree | 5a784f9fbe26ac641996a5d545c1fc84675026d7 | |
parent | 6b5bfc57b59cd98cdbec74eabd61ee177659328f (diff) |
initialize 'currency' variable
-rw-r--r-- | src/auditor/taler-auditor.c | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/src/auditor/taler-auditor.c b/src/auditor/taler-auditor.c index b9edcf678..f79589776 100644 --- a/src/auditor/taler-auditor.c +++ b/src/auditor/taler-auditor.c @@ -25,7 +25,6 @@ * given in the aggregation_tracking table. This needs to be checked separately! * * TODO: - * - initialize 'currency' (URGENT!) * - modify auditordb to allow multiple last serial IDs per table in progress tracking * - implement coin/denomination audit * - implement merchant deposit audit @@ -1936,6 +1935,18 @@ run (void *cls, const char *cfgfile, const struct GNUNET_CONFIGURATION_Handle *cfg) { + if (GNUNET_OK != + GNUNET_CONFIGURATION_get_value_string (cfg, + "taler", + "CURRENCY", + ¤cy)) + { + GNUNET_log_config_missing (GNUNET_ERROR_TYPE_ERROR, + "taler", + "CURRENCY"); + global_ret = 1; + return; + } if (NULL == (edb = TALER_EXCHANGEDB_plugin_load (cfg))) { |