use lbrycrd

This commit is contained in:
Jack 2016-07-04 05:43:26 -04:00
parent 568737e123
commit 7b9e3aace9
2 changed files with 2 additions and 2 deletions

View file

@ -143,7 +143,7 @@ class LBRYDaemon(jsonrpc.JSONRPC):
isLeaf = True
def __init__(self, root, wallet_type=None):
def __init__(self, root, wallet_type="lbrycrd"):
jsonrpc.JSONRPC.__init__(self)
reactor.addSystemEventTrigger('before', 'shutdown', self._shutdown)

View file

@ -183,7 +183,7 @@ class HostedLBRYFile(resource.Resource):
class LBRYDaemonServer(object):
def _setup_server(self, wallet):
self.root = LBRYindex(os.path.join(os.path.join(data_dir, "lbry-ui"), "active"))
self._api = LBRYDaemon(self.root, wallet_type=wallet)
self._api = LBRYDaemon(self.root, wallet_type="lbrycrd")
self.root.putChild("view", HostedLBRYFile(self._api))
self.root.putChild(API_ADDRESS, self._api)
return defer.succeed(True)