use new POW function consistently, also in revocation
[oweals/gnunet.git] / src / util / gnunet-scrypt.c
index d84f486a70522ee0183db37a5eee16f4ba369e1a..bc8ce83c035e66d838549678eda556eef3c4ff37 100644 (file)
@@ -117,7 +117,10 @@ find_proof (void *cls)
   while ((counter != UINT64_MAX) && (i < ROUND_SIZE))
   {
     GNUNET_memcpy (buf, &counter, sizeof(uint64_t));
-    GNUNET_CRYPTO_pow_hash (buf, sizeof(buf), &result);
+    GNUNET_CRYPTO_pow_hash ("gnunet-nse-proof-of-work",
+                            buf,
+                            sizeof(buf),
+                            &result);
     if (nse_work_required <= count_leading_zeroes (&result))
     {
       proof = counter;