tMerge pull request #3235 from SomberNight/fix_delete_passworded_wallets - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 368aaebb23f7c0c6a7cc1bd603d2a3eefa65590f DIR parent 20406bc1eaf9cf85c54a981ef8ca8bc982af2ca7 HTML Author: ThomasV <thomasv@electrum.org> Date: Tue, 7 Nov 2017 17:42:28 +0100 Merge pull request #3235 from SomberNight/fix_delete_passworded_wallets fix: deleting a passworded wallet did not work Diffstat: M gui/qt/main_window.py | 7 ------- 1 file changed, 0 insertions(+), 7 deletions(-) --- DIR diff --git a/gui/qt/main_window.py b/gui/qt/main_window.py t@@ -1871,14 +1871,7 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, PrintError): @protected def _delete_wallet(self, password): wallet_path = self.wallet.storage.path - dirname = os.path.dirname(wallet_path) basename = os.path.basename(wallet_path) - if self.wallet.has_password(): - try: - self.wallet.check_password(pw) - except: - self.show_error("Invalid Password") - return self.gui_object.daemon.stop_wallet(wallet_path) self.close() os.unlink(wallet_path)