a lot of work on sockets, and added chat module
This commit is contained in:
parent
f8b10cfe12
commit
557afb8d9a
@ -90,7 +90,7 @@ def on_processBlocks(api):
|
|||||||
except KeyError:
|
except KeyError:
|
||||||
raise ValueError("Missing socket reason")
|
raise ValueError("Missing socket reason")
|
||||||
|
|
||||||
socketInfo = json.dumps({'peer': api.data['signer'], 'address': address, 'port': port, 'create' = False, 'reason': reason})
|
socketInfo = json.dumps({'peer': api.data['signer'], 'address': address, 'port': port, 'create': False, 'reason': reason})
|
||||||
api.get_core().daemonQueueAdd('startSocket', socketInfo)
|
api.get_core().daemonQueueAdd('startSocket', socketInfo)
|
||||||
|
|
||||||
def on_init(api, data = None):
|
def on_init(api, data = None):
|
||||||
|
Loading…
Reference in New Issue
Block a user