From d711465204d6957773e77516f616e39b848d154b Mon Sep 17 00:00:00 2001 From: cgeek <cem.moreau@gmail.com> Date: Thu, 14 Apr 2016 22:17:10 +0200 Subject: [PATCH] Fix #382 /wot/requirements was throwing an error --- app/lib/blockGenerator.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/lib/blockGenerator.js b/app/lib/blockGenerator.js index 4c9d5880a..97af920dc 100644 --- a/app/lib/blockGenerator.js +++ b/app/lib/blockGenerator.js @@ -453,7 +453,7 @@ function BlockGenerator(mainContext, prover) { if (!identity) { throw 'Identity with hash \'' + idHash + '\' not found'; } - if (identity.buid != constants.BLOCK.SPECIAL_BLOCK) { + if (!identity.wasMember && identity.buid != constants.BLOCK.SPECIAL_BLOCK) { let idtyBasedBlock = yield dal.getBlock(identity.buid); let age = current.medianTime - idtyBasedBlock.medianTime; if (age > conf.idtyWindow) { -- GitLab