diff --git a/lbry/lbry/extras/daemon/Daemon.py b/lbry/lbry/extras/daemon/Daemon.py index eaf4d0c8a..348900316 100644 --- a/lbry/lbry/extras/daemon/Daemon.py +++ b/lbry/lbry/extras/daemon/Daemon.py @@ -1047,18 +1047,20 @@ class Daemon(metaclass=JSONRPCServerType): """ @requires("wallet") - def jsonrpc_wallet_list(self): + def jsonrpc_wallet_list(self, wallet_id=None): """ List wallets. Usage: - wallet_list + wallet_list [--wallet_id=] Options: - None + --wallet_id= : (str) show specific wallet only Returns: {List[Wallet]} """ + if wallet_id: + return [self.wallet_manager.get_wallet_or_error(wallet_id)] return self.wallet_manager.wallets @requires("wallet")