diff --git a/gui/gui_classic.py b/gui/gui_classic.py index 4c2a1a3e..35d56e01 100644 --- a/gui/gui_classic.py +++ b/gui/gui_classic.py @@ -369,7 +369,7 @@ class ElectrumWindow(QMainWindow): storage = WalletStorage({'wallet_path': filename}) assert not storage.file_exists - wizard = installwizard.InstallWizard(self.config, self.wallet.interface, storage) + wizard = installwizard.InstallWizard(self.config, self.wallet.interface, self.wallet.verifier.blockchain, storage) wallet = wizard.run() if wallet: self.load_wallet(wallet) @@ -387,7 +387,7 @@ class ElectrumWindow(QMainWindow): new_wallet_action.triggered.connect(self.new_wallet) wallet_backup = file_menu.addAction(_("&Copy")) - wallet_backup.triggered.connect(lambda: backup_wallet(self.config.path)) + wallet_backup.triggered.connect(lambda: backup_wallet(self.wallet.storage.path)) quit_item = file_menu.addAction(_("&Close")) quit_item.triggered.connect(self.close)