forked from LBRYCommunity/lbry-sdk
whoops
This commit is contained in:
parent
31655a641c
commit
be3633622c
3 changed files with 3 additions and 2 deletions
|
@ -1378,7 +1378,7 @@ class LBRYDaemon(jsonrpc.JSONRPC):
|
|||
reflector_server = random.choice(REFLECTOR_SERVERS)
|
||||
reflector_address, reflector_port = reflector_server[0], reflector_server[1]
|
||||
log.info("Start reflector client")
|
||||
factory = reflector.LBRYBlobReflectorClient(
|
||||
factory = reflector.LBRYBlobReflectorClientFactory(
|
||||
self.session.blob_manager,
|
||||
blob_hashes
|
||||
)
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
from lbrynet.reflector.server.server import ReflectorServerFactory as ServerFactory
|
||||
from lbrynet.reflector.client.client import LBRYFileReflectorClientFactory, LBRYBlobReflectorClient
|
||||
from lbrynet.reflector.client.client import LBRYFileReflectorClientFactory, LBRYBlobReflectorClientFactory
|
||||
|
|
|
@ -329,6 +329,7 @@ class LBRYBlobReflectorClient(Protocol):
|
|||
def send_handshake(self):
|
||||
log.debug('Sending handshake')
|
||||
self.write(json.dumps({'version': 0}))
|
||||
return defer.succeed(None)
|
||||
|
||||
def parse_response(self, buff):
|
||||
try:
|
||||
|
|
Loading…
Reference in a new issue