1
0

add wallet_path to kwargs in run_cmdline

This commit is contained in:
ThomasV
2019-09-09 09:58:16 +02:00
parent 46ffab0b55
commit 103a37b0ca
2 changed files with 3 additions and 0 deletions

View File

@@ -443,6 +443,8 @@ class Daemon(Logger):
kwargs = {}
for x in cmd.options:
kwargs[x] = (config_options.get(x) if x in ['password', 'new_password'] else config.get(x))
if cmd.requires_wallet:
kwargs['wallet_path'] = config_options.get('wallet_path')
func = getattr(self.cmd_runner, cmd.name)
# fixme: not sure how to retrieve message in jsonrpcclient
try: