From 6d61330e3ae457a27f10247cd9caf53987604143 Mon Sep 17 00:00:00 2001 From: "Schanzenbach, Martin" Date: Mon, 20 Apr 2020 08:24:06 +0200 Subject: evaluate epochs --- src/revocation/gnunet-service-revocation.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/revocation/gnunet-service-revocation.c') diff --git a/src/revocation/gnunet-service-revocation.c b/src/revocation/gnunet-service-revocation.c index 420cb392f..4746a7698 100644 --- a/src/revocation/gnunet-service-revocation.c +++ b/src/revocation/gnunet-service-revocation.c @@ -167,8 +167,7 @@ new_peer_entry (const struct GNUNET_PeerIdentity *peer) static int verify_revoke_message (const struct RevokeMessage *rm) { - if (GNUNET_YES != - GNUNET_REVOCATION_check_pow (&rm->proof_of_work, + if (0 >= GNUNET_REVOCATION_check_pow (&rm->proof_of_work, (unsigned int) revocation_work_required)) { GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, -- cgit v1.2.3