diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/revocation/revocation_api.c | 2 |
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, | |||
457 | } | 457 | } |
458 | score = score / POW_COUNT; | 458 | score = score / POW_COUNT; |
459 | if (score < difficulty) | 459 | if (score < difficulty) |
460 | return GNUNET_NO; | 460 | return -1; |
461 | epochs = score - difficulty; | 461 | epochs = score - difficulty; |
462 | return epochs; | 462 | return epochs; |
463 | } | 463 | } |