From ed9789214ec74c87be6883be8d0bcf872b6bb6a6 Mon Sep 17 00:00:00 2001 From: Michael Peter Christen Date: Sat, 6 Mar 2021 13:35:46 +0100 Subject: [PATCH] fixed seed initialization problem --- source/net/yacy/peers/SeedDB.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/net/yacy/peers/SeedDB.java b/source/net/yacy/peers/SeedDB.java index 645fefdfb..8244a2e2a 100644 --- a/source/net/yacy/peers/SeedDB.java +++ b/source/net/yacy/peers/SeedDB.java @@ -234,7 +234,7 @@ public final class SeedDB implements AlternativeDomainNames { } public void setMyName(final String name) { - this.mySeed.setName(name); + mySeed().setName(name); } @Override @@ -259,12 +259,12 @@ public final class SeedDB implements AlternativeDomainNames { @Override public String myName() { - return this.mySeed.getName(); + return mySeed().getName(); } @Override public String myID() { - return this.mySeed.hash; + return mySeed().hash; } public synchronized void removeMySeed() {