check if addr message is empty before processing it
This commit is contained in:
parent
8453b1dd00
commit
eb05cec5b1
|
@ -1662,7 +1662,7 @@ class receiveDataThread(QThread):
|
||||||
printLock.release()
|
printLock.release()
|
||||||
#print 'lengthOfNumberOfAddresses', lengthOfNumberOfAddresses
|
#print 'lengthOfNumberOfAddresses', lengthOfNumberOfAddresses
|
||||||
|
|
||||||
if numberOfAddressesIncluded > 1000:
|
if numberOfAddressesIncluded > 1000 or numberOfAddressesIncluded == 0:
|
||||||
return
|
return
|
||||||
needToWriteKnownNodesToDisk = False
|
needToWriteKnownNodesToDisk = False
|
||||||
for i in range(0,numberOfAddressesIncluded):
|
for i in range(0,numberOfAddressesIncluded):
|
||||||
|
|
Reference in New Issue
Block a user