mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-29 16:31:29 +00:00
trezor: fix is_xprv
This commit is contained in:
parent
6d33e1a35b
commit
b16800864b
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue