summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/revocation/revocation_api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/revocation/revocation_api.c b/src/revocation/revocation_api.c
index 1aff7c2f6..771bcb92d 100644
--- a/src/revocation/revocation_api.c
+++ b/src/revocation/revocation_api.c
@@ -457,7 +457,7 @@ GNUNET_REVOCATION_check_pow (const struct GNUNET_REVOCATION_Pow *pow,
}
score = score / POW_COUNT;
if (score < difficulty)
- return GNUNET_NO;
+ return -1;
epochs = score - difficulty;
return epochs;
}