mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-28 07:51:27 +00:00
fix
This commit is contained in:
parent
49c422db67
commit
a61d0bd03c
1 changed files with 2 additions and 2 deletions
|
@ -159,13 +159,13 @@ class NativeInterface(PollingInterface):
|
|||
|
||||
def start_session(self, addresses, version):
|
||||
self.send([('session.new', [ version, addresses ])] )
|
||||
self.send([('server.peers',[])])
|
||||
self.send([('server.peers.subscribe',[])])
|
||||
thread.start_new_thread(self.poll_thread, (5,))
|
||||
|
||||
def send(self, messages):
|
||||
import time
|
||||
cmds = {'session.new':'new_session',
|
||||
'server.peers':'peers',
|
||||
'server.peers.subscribe':'peers',
|
||||
'session.poll':'poll',
|
||||
'blockchain.transaction.broadcast':'tx',
|
||||
'blockchain.address.get_history':'h',
|
||||
|
|
Loading…
Add table
Reference in a new issue