SSL fixes

This commit is contained in:
mailchuck 2015-11-22 17:04:51 +01:00 committed by Peter Surda
parent 18f7ef06e2
commit 281630757e
2 changed files with 2 additions and 2 deletions

View File

@ -755,7 +755,7 @@ class receiveDataThread(threading.Thread):
def sendversion(self):
logger.debug('Sending version message')
self.sendDataThreadQueue.put((0, 'sendRawData', shared.assembleVersionMessage(
self.peer.host, self.peer.port, self.streamNumber)))
self.peer.host, self.peer.port, self.streamNumber, not self.initiatedConnection)))
# Sends a verack message

View File

@ -50,7 +50,7 @@ class sendDataThread(threading.Thread):
def sendVersionMessage(self):
datatosend = shared.assembleVersionMessage(
self.peer.host, self.peer.port, self.streamNumber) # the IP and port of the remote host, and my streamNumber.
self.peer.host, self.peer.port, self.streamNumber, not self.initiatedConnection) # the IP and port of the remote host, and my streamNumber.
logger.debug('Sending version packet: ' + repr(datatosend))