commit b16800864b3acf29fc9487e64ef3f3ad986d3237 parent 6d33e1a35b0628ac15a7ddcc1838d8f0dec4b2d4 Author: ThomasV <thomasv@electrum.org> Date: Fri, 6 Jan 2017 22:47:10 +0100 trezor: fix is_xprv Diffstat:
M | plugins/trezor/qt_generic.py | | | 3 | ++- |
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/plugins/trezor/qt_generic.py b/plugins/trezor/qt_generic.py @@ -242,7 +242,8 @@ class QtPlugin(QtPluginBase): else: msg = _("Enter the master private key beginning with xprv:") def set_enabled(): - wizard.next_button.setEnabled(Wallet.is_xprv(clean_text(text))) + from electrum.keystore import is_xprv + wizard.next_button.setEnabled(is_xprv(clean_text(text))) text.textChanged.connect(set_enabled) next_enabled = False