1
0

CLI list_wallets: fix logical error in 'unlocked' value

This commit is contained in:
ThomasV
2025-06-01 10:52:52 +02:00
parent cea4b99668
commit 477dd8e478

View File

@@ -264,7 +264,7 @@ class Commands(Logger):
{
'path': path,
'synchronized': w.is_up_to_date(),
'unlocked': w.has_password() and (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()
]