From a33d45f43073a076ea37171032b54290f0965e01 Mon Sep 17 00:00:00 2001 From: Kevin Froman Date: Sun, 19 Aug 2018 20:32:21 -0500 Subject: [PATCH] fixed broken address merge --- onionr/onionrutils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/onionr/onionrutils.py b/onionr/onionrutils.py index 951f546a..6d22992c 100644 --- a/onionr/onionrutils.py +++ b/onionr/onionrutils.py @@ -128,7 +128,7 @@ class OnionrUtils: for adder in newAdderList.split(','): adder = adder.strip() if not adder in self._core.listAdders(randomOrder = False) and adder != self.getMyAddress() and not self._core._blacklist.inBlacklist(adder): - if not config.get('tor.v3onions') and len(address) == 62: + if not config.get('tor.v3onions') and len(adder) == 62: continue if self._core.addAddress(adder): logger.info('Added %s to db.' % adder, timestamp = True)