electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit 45a55e258f36144a9315db9a6e45145de4f7f80f
parent 6446d6685996e36cd6fe9b2b25e66287211bae68
Author: ThomasV <thomasv@gitorious>
Date:   Fri, 12 Sep 2014 19:24:01 +0200

trezor: check device on load_wallet

Diffstat:
Mplugins/trezor.py | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/plugins/trezor.py b/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):