gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnunet] 18/31: fix


From: gnunet
Subject: [gnunet] 18/31: fix
Date: Wed, 22 Apr 2020 21:53:09 +0200

This is an automated email from the git hooks/post-receive script.

martin-schanzenbach pushed a commit to branch master
in repository gnunet.

commit 24d5d46ade3ad70889855cdbe3a1a61754bdfb92
Author: Schanzenbach, Martin <address@hidden>
AuthorDate: Mon Apr 20 17:46:02 2020 +0200

    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;
 }

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]