From 24d5d46ade3ad70889855cdbe3a1a61754bdfb92 Mon Sep 17 00:00:00 2001 From: "Schanzenbach, Martin" Date: Mon, 20 Apr 2020 17:46:02 +0200 Subject: [PATCH] fix --- src/revocation/revocation_api.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.25.1