From 69545f08ca35854d621301df8049e5aec08fd792 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Wed, 4 Jun 2025 10:45:46 +0200 Subject: [PATCH] list_wallets: fix wallet path (follow-up 902ec09791777b7ce6605bbcf8304b920d0220fd) --- electrum/commands.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/electrum/commands.py b/electrum/commands.py index 0203fb18d..c270b3578 100644 --- a/electrum/commands.py +++ b/electrum/commands.py @@ -264,11 +264,11 @@ class Commands(Logger): """List wallets open in daemon""" return [ { - 'path': path, + 'path': w.db.storage.path, 'synchronized': w.is_up_to_date(), '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')