Fix annoying peer spamming

master
Arinerron 2018-11-09 23:22:27 -08:00
parent 548d4ed106
commit 22115891f2
No known key found for this signature in database
GPG Key ID: 99383627861C62F0
2 changed files with 1 additions and 4 deletions

View File

@ -324,7 +324,7 @@ class OnionrCommunicatorDaemon:
def addBootstrapListToPeerList(self, peerList):
'''Add the bootstrap list to the peer list (no duplicates)'''
for i in self._core.bootstrapList:
if i not in peerList and i not in self.offlinePeers and i != self._core.hsAddress:
if i not in peerList and i not in self.offlinePeers and i != self._core.hsAddress and len(str(i).strip()) > 0:
peerList.append(i)
self._core.addAddress(i)

View File

@ -1,3 +0,0 @@
onionragxuddecmg.onion
dgyllprmtmym4gbk.onion
eczfevdpirhvbniy.onion