From 03735923b7bc45a8614b6d328b66165aa01a5078 Mon Sep 17 00:00:00 2001
From: cgeek <cem.moreau@gmail.com>
Date: Wed, 1 Mar 2017 18:48:04 +0100
Subject: [PATCH] =?UTF-8?q?[fix]=C2=A0#860=20Crash=20during=20block=20test?=
 =?UTF-8?q?ing?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 app/lib/dup/indexer.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/app/lib/dup/indexer.js b/app/lib/dup/indexer.js
index f99fbc9b0..ab06ebdf8 100644
--- a/app/lib/dup/indexer.js
+++ b/app/lib/dup/indexer.js
@@ -1586,6 +1586,7 @@ function checkPeopleAreNotOudistanced (pubkeys, newLinks, newcomers, conf, dal)
         tempLinks.push({ from: fromNode, to: toNode });
       }
     }
+    wotb.setMaxCert(conf.sigStock + tempLinks.length);
     tempLinks.forEach((link) => wotb.addLink(link.from, link.to));
     // Checking distance of each member against them
     let error;
-- 
GitLab