aboutsummaryrefslogtreecommitdiff
path: root/src/revocation/revocation_api.c
diff options
context:
space:
mode:
authorSchanzenbach, Martin <mschanzenbach@posteo.de>2020-04-20 17:46:02 +0200
committerSchanzenbach, Martin <mschanzenbach@posteo.de>2020-04-20 17:46:02 +0200
commit24d5d46ade3ad70889855cdbe3a1a61754bdfb92 (patch)
treedc7f026a2c4b814abf02b09365271be74ca97e2e /src/revocation/revocation_api.c
parentc81fbcd85bf914163ba090ba3cafe2b53fe20924 (diff)
downloadgnunet-24d5d46ade3ad70889855cdbe3a1a61754bdfb92.tar.gz
gnunet-24d5d46ade3ad70889855cdbe3a1a61754bdfb92.zip
fix
Diffstat (limited to 'src/revocation/revocation_api.c')
-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,
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}