From 2b76b3da484e33e0e8ec7388bfc42252b664030e Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Tue, 25 Mar 2014 22:49:50 +0100 Subject: [PATCH] This assertion cannot work here as a new node has no entry in the DHT (bad copy-paste stuff). Signed-off-by: Roland Haeder --- application/hub/main/dht/node/class_NodeDhtFacade.php | 1 - 1 file changed, 1 deletion(-) diff --git a/application/hub/main/dht/node/class_NodeDhtFacade.php b/application/hub/main/dht/node/class_NodeDhtFacade.php index 7156ad79e..16a7a995f 100644 --- a/application/hub/main/dht/node/class_NodeDhtFacade.php +++ b/application/hub/main/dht/node/class_NodeDhtFacade.php @@ -198,7 +198,6 @@ class NodeDhtFacade extends BaseDht implements DistributableNode, Registerable { // Make sure the result instance is valid assert($resultInstance instanceof SearchableResult); - assert($resultInstance->valid()); // Is there already an entry? if ($resultInstance->valid()) { -- 2.39.5