forked from LBRYCommunity/lbry-sdk
Don't try to process blank IPs
This commit is contained in:
parent
e25be5a522
commit
49ae029572
1 changed files with 1 additions and 1 deletions
|
@ -516,7 +516,7 @@ class Node(object):
|
||||||
else:
|
else:
|
||||||
raise TypeError, 'No NodeID given. Therefore we can\'t store this node'
|
raise TypeError, 'No NodeID given. Therefore we can\'t store this node'
|
||||||
|
|
||||||
if self_store is True and self.externalIP is not None:
|
if self_store is True and self.externalIP:
|
||||||
contact = Contact(self.id, self.externalIP, self.port, None, None)
|
contact = Contact(self.id, self.externalIP, self.port, None, None)
|
||||||
compact_ip = contact.compact_ip()
|
compact_ip = contact.compact_ip()
|
||||||
elif '_rpcNodeContact' in kwargs:
|
elif '_rpcNodeContact' in kwargs:
|
||||||
|
|
Loading…
Reference in a new issue