aboutsummaryrefslogtreecommitdiff
path: root/src/nse/gnunet-service-nse.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nse/gnunet-service-nse.c')
-rw-r--r--src/nse/gnunet-service-nse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nse/gnunet-service-nse.c b/src/nse/gnunet-service-nse.c
index 461d55a7f..ebf39585e 100644
--- a/src/nse/gnunet-service-nse.c
+++ b/src/nse/gnunet-service-nse.c
@@ -806,7 +806,7 @@ check_proof_of_work (const struct GNUNET_CRYPTO_EddsaPublicKey *pkey,
806 GNUNET_memcpy (&buf[sizeof(val)], 806 GNUNET_memcpy (&buf[sizeof(val)],
807 pkey, 807 pkey,
808 sizeof(struct GNUNET_CRYPTO_EddsaPublicKey)); 808 sizeof(struct GNUNET_CRYPTO_EddsaPublicKey));
809 GNUNET_CRYPTO_pow_hash ("gnunet-nse-proof-of-work", 809 GNUNET_CRYPTO_pow_hash ("gnunet-nse-proof",
810 buf, 810 buf,
811 sizeof(buf), 811 sizeof(buf),
812 &result); 812 &result);
@@ -861,7 +861,7 @@ find_proof (void *cls)
861 while ((counter != UINT64_MAX) && (i < ROUND_SIZE)) 861 while ((counter != UINT64_MAX) && (i < ROUND_SIZE))
862 { 862 {
863 GNUNET_memcpy (buf, &counter, sizeof(uint64_t)); 863 GNUNET_memcpy (buf, &counter, sizeof(uint64_t));
864 GNUNET_CRYPTO_pow_hash ("gnunet-nse-proof-of-work", 864 GNUNET_CRYPTO_pow_hash ("gnunet-nse-proof",
865 buf, 865 buf,
866 sizeof(buf), 866 sizeof(buf),
867 &result); 867 &result);