mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-28 16:01:30 +00:00
load default wallet in daemon (fix #1731)
This commit is contained in:
parent
18ac3b0ec2
commit
4efa6cb24b
1 changed files with 4 additions and 2 deletions
|
@ -110,8 +110,10 @@ class Daemon(DaemonThread):
|
|||
self.network.start()
|
||||
self.gui = None
|
||||
self.wallets = {}
|
||||
# Setup server
|
||||
cmd_runner = Commands(self.config, None, self.network)
|
||||
# Setup JSONRPC server
|
||||
path = config.get_wallet_path()
|
||||
default_wallet = self.load_wallet(path)
|
||||
cmd_runner = Commands(self.config, default_wallet, self.network)
|
||||
host = config.get('rpchost', 'localhost')
|
||||
port = config.get('rpcport', 0)
|
||||
server = SimpleJSONRPCServer((host, port), logRequests=False,
|
||||
|
|
Loading…
Add table
Reference in a new issue