gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [taler-merchant] branch master updated: log properly which


From: gnunet
Subject: [GNUnet-SVN] [taler-merchant] branch master updated: log properly which auditors are loaded, fix log level
Date: Thu, 11 May 2017 11:36:46 +0200

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository merchant.

The following commit(s) were added to refs/heads/master by this push:
     new 1ccb472  log properly which auditors are loaded, fix log level
1ccb472 is described below

commit 1ccb4722e65e1bdd5a3b02abfaf612dd2c39a525
Author: Christian Grothoff <address@hidden>
AuthorDate: Thu May 11 11:36:44 2017 +0200

    log properly which auditors are loaded, fix log level
---
 src/backend/taler-merchant-httpd_auditors.c | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/src/backend/taler-merchant-httpd_auditors.c 
b/src/backend/taler-merchant-httpd_auditors.c
index cfd69c2..add8291 100644
--- a/src/backend/taler-merchant-httpd_auditors.c
+++ b/src/backend/taler-merchant-httpd_auditors.c
@@ -105,16 +105,16 @@ TMH_AUDITORS_check_dk (struct TALER_EXCHANGE_Handle *mh,
                        &auditors[j].public_key,
                        sizeof (struct TALER_AuditorPublicKeyP)))
       {
-        GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
+        GNUNET_log (GNUNET_ERROR_TYPE_INFO,
                     "Found supported auditor `%s' (%s)\n",
                     auditors[j].name,
                     TALER_B2S (&auditors[j].public_key));
 
       }
+      for (unsigned int k=0;j<ai->num_denom_keys;k++)
+        if (ai->denom_keys[k] == dk)
+          return GNUNET_OK;
     }
-    for (unsigned int j=0;j<ai->num_denom_keys;j++)
-      if (ai->denom_keys[j] == dk)
-        return GNUNET_OK;
   }
   GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
               "Denomination key %s offered by client not audited by any 
accepted auditor\n",
@@ -193,8 +193,9 @@ parse_auditors (void *cls,
     return;
   }
   GNUNET_log (GNUNET_ERROR_TYPE_INFO,
-              "Loaded key data of auditor `%s'\n",
-              auditor.name);
+              "Loaded key data of auditor `%s' (%s)\n",
+              auditor.name,
+              TALER_B2S (&auditors[j].public_key);
   GNUNET_free (pks);
   GNUNET_array_append (auditors,
                        nauditors,

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]