diff --git a/src/main/java/com/lbry/globe/thread/HubNodeFinderThread.java b/src/main/java/com/lbry/globe/thread/HubNodeFinderThread.java index 329efe3..c886995 100644 --- a/src/main/java/com/lbry/globe/thread/HubNodeFinderThread.java +++ b/src/main/java/com/lbry/globe/thread/HubNodeFinderThread.java @@ -78,7 +78,16 @@ public class HubNodeFinderThread implements Runnable{ } } for(InetAddress removeIP : removeIPs){ - HubNodeFinderThread.LAST_SEEN.remove(removeIP); + boolean isBootstrap = false; + for(String bootstrap : HubNodeFinderThread.HUBS){ + if(bootstrap.equalsIgnoreCase(removeIP.getHostName())){ + isBootstrap = true; + break; + } + } + if(!isBootstrap){ + HubNodeFinderThread.LAST_SEEN.remove(removeIP); + } Node n = API.NODES.get(removeIP); if(n!=null){ List removeServices = new ArrayList<>();