SSL fixes
This commit is contained in:
parent
18f7ef06e2
commit
281630757e
|
@ -755,7 +755,7 @@ class receiveDataThread(threading.Thread):
|
||||||
def sendversion(self):
|
def sendversion(self):
|
||||||
logger.debug('Sending version message')
|
logger.debug('Sending version message')
|
||||||
self.sendDataThreadQueue.put((0, 'sendRawData', shared.assembleVersionMessage(
|
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
|
# Sends a verack message
|
||||||
|
|
|
@ -50,7 +50,7 @@ class sendDataThread(threading.Thread):
|
||||||
|
|
||||||
def sendVersionMessage(self):
|
def sendVersionMessage(self):
|
||||||
datatosend = shared.assembleVersionMessage(
|
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))
|
logger.debug('Sending version packet: ' + repr(datatosend))
|
||||||
|
|
||||||
|
|
Reference in New Issue
Block a user