mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-23 17:47:31 +00:00
cli: fix load_wallet for storage-encrypted wallets
This commit is contained in:
parent
8e08ca7cb1
commit
3d88d6870c
1 changed files with 2 additions and 2 deletions
|
@ -197,9 +197,9 @@ class Commands:
|
||||||
for path, w in self.daemon.get_wallets().items()]
|
for path, w in self.daemon.get_wallets().items()]
|
||||||
|
|
||||||
@command('n')
|
@command('n')
|
||||||
async def load_wallet(self, wallet_path=None):
|
async def load_wallet(self, wallet_path=None, password=None):
|
||||||
"""Open wallet in daemon"""
|
"""Open wallet in daemon"""
|
||||||
wallet = self.daemon.load_wallet(wallet_path, self.config.get('password'))
|
wallet = self.daemon.load_wallet(wallet_path, password)
|
||||||
if wallet is not None:
|
if wallet is not None:
|
||||||
run_hook('load_wallet', wallet, None)
|
run_hook('load_wallet', wallet, None)
|
||||||
response = wallet is not None
|
response = wallet is not None
|
||||||
|
|
Loading…
Add table
Reference in a new issue