This commit is contained in:
Peter Šurda 2017-05-29 14:59:42 +02:00
parent 3a543efd83
commit 11d02b1e41
Signed by: PeterSurda
GPG Key ID: 0C5F50C0B5F37D87

View File

@ -36,9 +36,9 @@ class InvThread(threading.Thread, StoppableThread):
try: try:
data = invQueue.get(False) data = invQueue.get(False)
if len(data) == 2: if len(data) == 2:
BMConnectionPool().handleReceivedObject(self, data[0], data[1]) BMConnectionPool().handleReceivedObject(data[0], data[1])
else: else:
BMConnectionPool().handleReceivedObject(self, data[0], data[1], data[2]) BMConnectionPool().handleReceivedObject(data[0], data[1], data[2])
self.holdHash (stream, hash) self.holdHash (stream, hash)
#print "Holding hash %i, %s" % (stream, hexlify(hash)) #print "Holding hash %i, %s" % (stream, hexlify(hash))
except Queue.Empty: except Queue.Empty: