From d8fef959f9a4596f101b2026cf7468dd07f7001f Mon Sep 17 00:00:00 2001 From: Adam Gibson Date: Sun, 22 Mar 2020 18:52:09 +0000 Subject: [PATCH] Bugfix: recovered wallet file location Prior to this commit, the recoverWallet method in Qt was specifying a directory `./wallets` instead of the same directory in the datadir location. --- scripts/joinmarket-qt.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/joinmarket-qt.py b/scripts/joinmarket-qt.py index 307de87..6a36761 100644 --- a/scripts/joinmarket-qt.py +++ b/scripts/joinmarket-qt.py @@ -1570,7 +1570,8 @@ class JMMainWindow(QMainWindow): def recoverWallet(self): try: success = wallet_generate_recover_bip39( - "recover", "wallets", "wallet.jmdat", + "recover", os.path.join(jm_single().datadir, 'wallets'), + "wallet.jmdat", display_seed_callback=None, enter_seed_callback=self.seedEntry, enter_wallet_password_callback=self.getPassword,