commit 6d33e1a35b0628ac15a7ddcc1838d8f0dec4b2d4
parent adf7e250ca493c1ce5a0de8f955e59bd453b3902
Author: ThomasV <thomasv@electrum.org>
Date: Fri, 6 Jan 2017 22:32:06 +0100
trezor: fix wipe_device
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/plugins/trezor/qt_generic.py b/plugins/trezor/qt_generic.py
@@ -401,6 +401,7 @@ class SettingsDialog(WindowModalDialog):
invoke_client('set_pin', remove=True)
def wipe_device():
+ wallet = window.wallet
if wallet and sum(wallet.get_balance()):
title = _("Confirm Device Wipe")
msg = _("Are you SURE you want to wipe the device?\n"