Browse Source

trezor: check device on load_wallet

283
ThomasV 11 years ago
parent
commit
45a55e258f
  1. 2
      plugins/trezor.py

2
plugins/trezor.py

@ -82,6 +82,8 @@ class Plugin(BasePlugin):
@hook
def load_wallet(self, wallet):
self.wallet = wallet
if not self.wallet.check_proper_device():
QMessageBox.information(None, _('Error'), _("This wallet does not match your Trezor device"), _('OK'))
@hook
def installwizard_restore(self, wizard, storage):

Loading…
Cancel
Save