list_wallets: fix wallet path (follow-up 902ec09791)
This commit is contained in:
@@ -264,11 +264,11 @@ class Commands(Logger):
|
|||||||
"""List wallets open in daemon"""
|
"""List wallets open in daemon"""
|
||||||
return [
|
return [
|
||||||
{
|
{
|
||||||
'path': path,
|
'path': w.db.storage.path,
|
||||||
'synchronized': w.is_up_to_date(),
|
'synchronized': w.is_up_to_date(),
|
||||||
'unlocked': not w.has_password() or (w.get_unlocked_password() is not None),
|
'unlocked': not w.has_password() or (w.get_unlocked_password() is not None),
|
||||||
}
|
}
|
||||||
for path, w in self.daemon.get_wallets().items()
|
for w in self.daemon.get_wallets().values()
|
||||||
]
|
]
|
||||||
|
|
||||||
@command('n')
|
@command('n')
|
||||||
|
|||||||
Reference in New Issue
Block a user