work on sockets

master
Kevin Froman 2018-09-20 12:15:08 -05:00
parent c2b0277612
commit 2164ded679
2 changed files with 2 additions and 2 deletions

View File

@ -271,7 +271,7 @@ class Onionr:
'''
def startChat(self):
socketInfo = json.dumps({'peer': api.data['signer'], 'address': address, 'port': port, 'create': True, 'reason': reason})
socketInfo = json.dumps({'peer': '', 'address': '', 'port': port, 'create': True, 'reason': 'chat'})
self.onionrCore.daemonQueueAdd('startSocket', socketInfo)
def getCommands(self):

View File

@ -49,7 +49,7 @@ def _processForwardKey(api, myBlock):
'''
Get the forward secrecy key specified by the user for us to use
'''
peer = onionrusers.OnionrUser(self.api.get_core(), myBlock.signer)
peer = onionrusers.OnionrUser(api.get_core(), myBlock.signer)
key = myBlock.getMetadata('newFSKey')
# We don't need to validate here probably, but it helps