Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

this asserts prevents a network operation in case of sabotage and must be removed therefore

orbiter77b1e921a954
diff --git a/source/de/anomic/yacy/yacySeedDB.java b/source/de/anomic/yacy/yacySeedDB.java
index 429f7df01..1ed8e58f4 100644
--- a/source/de/anomic/yacy/yacySeedDB.java
+++ b/source/de/anomic/yacy/yacySeedDB.java
@@ -1027,7 +1027,7 @@ public final class yacySeedDB implements AlternativeDomainNames {
dna.putAll(dna0);
}
final String hash = dna.remove("key");
- assert hash != null;
+ //assert hash != null;
if (hash == null) continue; // bad seed
return new yacySeed(hash, dna);
}