aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/revocation/gnunet-service-revocation.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/revocation/gnunet-service-revocation.c b/src/revocation/gnunet-service-revocation.c
index 3c08e8452..81a30748c 100644
--- a/src/revocation/gnunet-service-revocation.c
+++ b/src/revocation/gnunet-service-revocation.c
@@ -173,8 +173,9 @@ static int
173verify_revoke_message (const struct RevokeMessage *rm) 173verify_revoke_message (const struct RevokeMessage *rm)
174{ 174{
175 if (GNUNET_YES != GNUNET_REVOCATION_check_pow (&rm->proof_of_work, 175 if (GNUNET_YES != GNUNET_REVOCATION_check_pow (&rm->proof_of_work,
176 (unsigned int) revocation_work_required, 176 (unsigned
177 epoch_duration)) 177 int) revocation_work_required,
178 epoch_duration))
178 { 179 {
179 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, 180 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
180 "Proof of work invalid!\n"); 181 "Proof of work invalid!\n");
@@ -845,9 +846,9 @@ run (void *cls,
845 } 846 }
846 if (GNUNET_OK != 847 if (GNUNET_OK !=
847 GNUNET_CONFIGURATION_get_value_time (cfg, 848 GNUNET_CONFIGURATION_get_value_time (cfg,
848 "REVOCATION", 849 "REVOCATION",
849 "EPOCH_DURATION", 850 "EPOCH_DURATION",
850 &epoch_duration)) 851 &epoch_duration))
851 { 852 {
852 GNUNET_log_config_missing (GNUNET_ERROR_TYPE_ERROR, 853 GNUNET_log_config_missing (GNUNET_ERROR_TYPE_ERROR,
853 "REVOCATION", 854 "REVOCATION",