Skip to content

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

Repair publishThread

hermens5bfc02ccfbd8
diff --git a/source/de/anomic/yacy/yacyCore.java b/source/de/anomic/yacy/yacyCore.java
index 0645df2ec..708b5892e 100644
--- a/source/de/anomic/yacy/yacyCore.java
+++ b/source/de/anomic/yacy/yacyCore.java
@@ -274,7 +274,7 @@ public class yacyCore {
public final void run() {
try {
- this.added = yacyClient.publishMySeed(seed, seed.getClusterAddress(), seed.hash);
+ this.added = yacyClient.publishMySeed(sb.wordIndex.seedDB.mySeed(), seed.getClusterAddress(), seed.hash);
if (this.added < 0) {
// no or wrong response, delete that address
String cause = "peer ping to peer resulted in error response (added < 0)";