diff --git a/Tribler/community/triblertunnel/community.py b/Tribler/community/triblertunnel/community.py index a07b3bc8dc2..a7075341c1c 100644 --- a/Tribler/community/triblertunnel/community.py +++ b/Tribler/community/triblertunnel/community.py @@ -273,7 +273,7 @@ def update_torrent(self, peers, handle, download): def get_peer_from_address(self, address): circuit_peer = None for peer in self.get_peers(): - if peer.address == address: + if peer.address == address and peer.public_key.key_to_bin().startswith("LibNaCLPK:"): circuit_peer = peer break