Fix whitespace issue in bootstrap
This commit is contained in:
parent
9c1cb1a7e1
commit
9a35619a0b
@ -55,6 +55,8 @@ def connect_new_peer_to_communicator(comm_inst, peer='', useBootstrap=False):
|
|||||||
bootstrappeers.add_bootstrap_list_to_peer_list(comm_inst, peerList)
|
bootstrappeers.add_bootstrap_list_to_peer_list(comm_inst, peerList)
|
||||||
|
|
||||||
for address in peerList:
|
for address in peerList:
|
||||||
|
address = address.strip()
|
||||||
|
|
||||||
if not config.get('tor.v3onions') and len(address) == 62:
|
if not config.get('tor.v3onions') and len(address) == 62:
|
||||||
continue
|
continue
|
||||||
# Don't connect to our own address
|
# Don't connect to our own address
|
||||||
|
Loading…
Reference in New Issue
Block a user