From eb05cec5b1af94030d8b9f383929b6649b70f0ad Mon Sep 17 00:00:00 2001 From: Jonathan Warren Date: Tue, 5 Mar 2013 11:05:05 -0500 Subject: [PATCH] check if addr message is empty before processing it --- bitmessagemain.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bitmessagemain.py b/bitmessagemain.py index 3a1b58e4..45acc2ec 100755 --- a/bitmessagemain.py +++ b/bitmessagemain.py @@ -1662,7 +1662,7 @@ class receiveDataThread(QThread): printLock.release() #print 'lengthOfNumberOfAddresses', lengthOfNumberOfAddresses - if numberOfAddressesIncluded > 1000: + if numberOfAddressesIncluded > 1000 or numberOfAddressesIncluded == 0: return needToWriteKnownNodesToDisk = False for i in range(0,numberOfAddressesIncluded):