From: Schanzenbach, Martin Date: Mon, 20 Apr 2020 15:46:02 +0000 (+0200) Subject: fix X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=24d5d46ade3ad70889855cdbe3a1a61754bdfb92;p=oweals%2Fgnunet.git fix --- 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; }