1
0
This commit is contained in:
ThomasV
2015-10-28 10:36:44 +01:00
parent 94ac0db91f
commit 052d8b236e
4 changed files with 40 additions and 55 deletions

View File

@@ -565,7 +565,8 @@ class InstallWizard(QDialog):
text = self.enter_seed_dialog(MSG_ENTER_ANYTHING, None)
if not text:
return
wallet = Wallet.from_text(text, self.password_dialog, self.storage)
password = self.password_dialog() if Wallet.is_seed(text) or Wallet.is_xprv(text) or Wallet.is_private_key(text) else None
wallet = Wallet.from_text(text, password, self.storage)
elif re.match('(\d+)of(\d+)', t):
n = int(re.match('(\d+)of(\d+)', t).group(2))
key_list = self.multi_seed_dialog(n - 1)