aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMartin Schanzenbach <mschanzenbach@posteo.de>2020-05-13 17:59:56 +0200
committerMartin Schanzenbach <mschanzenbach@posteo.de>2020-05-13 17:59:56 +0200
commit6707d15ba0232c1ff3485f5ccb3f3c26a77feba7 (patch)
treecf3b0911156573eeae363409ed16a10323683616 /src
parent2cd529519d3f9d5034ed222536f8c79ef9e6b86d (diff)
downloadgnunet-6707d15ba0232c1ff3485f5ccb3f3c26a77feba7.tar.gz
gnunet-6707d15ba0232c1ff3485f5ccb3f3c26a77feba7.zip
uncrustify
Diffstat (limited to 'src')
-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",