diff options
author | Schanzenbach, Martin <mschanzenbach@posteo.de> | 2020-04-20 17:46:02 +0200 |
---|---|---|
committer | Schanzenbach, Martin <mschanzenbach@posteo.de> | 2020-04-20 17:46:02 +0200 |
commit | 24d5d46ade3ad70889855cdbe3a1a61754bdfb92 (patch) | |
tree | dc7f026a2c4b814abf02b09365271be74ca97e2e /src/revocation/revocation_api.c | |
parent | c81fbcd85bf914163ba090ba3cafe2b53fe20924 (diff) | |
download | gnunet-24d5d46ade3ad70889855cdbe3a1a61754bdfb92.tar.gz gnunet-24d5d46ade3ad70889855cdbe3a1a61754bdfb92.zip |
fix
Diffstat (limited to 'src/revocation/revocation_api.c')
-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 | } |