From: Roland Haeder Date: Tue, 22 Jul 2014 19:25:29 +0000 (+0200) Subject: This assert can be savely removed (see some lines below why). X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=2816b2b37ebb22d98aa848056ce01772bc4d48a8;p=hub.git This assert can be savely removed (see some lines below why). Signed-off-by: Roland Haeder --- diff --git a/application/hub/main/dht/node/class_NodeDhtFacade.php b/application/hub/main/dht/node/class_NodeDhtFacade.php index a4b291f6d..2a3cc4826 100644 --- a/application/hub/main/dht/node/class_NodeDhtFacade.php +++ b/application/hub/main/dht/node/class_NodeDhtFacade.php @@ -139,7 +139,6 @@ class NodeDhtFacade extends BaseDht implements DistributableNode, Registerable { // Make sure the result instance is valid assert($resultInstance instanceof SearchableResult); - assert($resultInstance->valid()); // Is the next entry valid? if (($resultInstance->valid()) && ($resultInstance->next())) {