remove some debug
authorMartin Schanzenbach <mschanzenbach@posteo.de>
Mon, 25 May 2020 22:43:34 +0000 (00:43 +0200)
committerMartin Schanzenbach <mschanzenbach@posteo.de>
Mon, 25 May 2020 22:43:34 +0000 (00:43 +0200)
src/revocation/revocation_api.c

index 24e9766ad6a46e8797e6261981ddbcfd74a45b46..2ae8e2df941381aa08c2cde8c467f9db30e50552 100644 (file)
@@ -435,7 +435,6 @@ GNUNET_REVOCATION_check_pow (const struct GNUNET_REVOCATION_PowP *pow,
            + sizeof (struct GNUNET_TIME_AbsoluteNBO)
            + sizeof (uint64_t)] GNUNET_ALIGN;
   struct GNUNET_REVOCATION_SignaturePurposePS spurp;
-  struct GNUNET_CRYPTO_HashAsciiEncoded h_str;
   struct GNUNET_HashCode result;
   struct GNUNET_TIME_Absolute ts;
   struct GNUNET_TIME_Absolute exp;
@@ -492,15 +491,6 @@ GNUNET_REVOCATION_check_pow (const struct GNUNET_REVOCATION_PowP *pow,
     GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
                 "Score %u with %" PRIu64 " (#%u)\n",
                 tmp_score, pow_val, i);
-    GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
-                "First byte: %x\n",
-                ((char*)&result)[0] & 0xff);
-
-
-    GNUNET_CRYPTO_hash_to_enc (&result,
-                               &h_str);
-    GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
-                "Hash: %s\n", (char*)&h_str);
 
     score += tmp_score;