1
0

add password when creating imported wallet

This commit is contained in:
ThomasV
2015-01-23 00:06:17 +01:00
parent a378922c05
commit 84fc4574d6
2 changed files with 5 additions and 3 deletions

View File

@@ -443,7 +443,8 @@ class InstallWizard(QDialog):
elif Wallet.is_address(text):
wallet = Wallet.from_address(text, self.storage)
elif Wallet.is_private_key(text):
wallet = Wallet.from_private_key(text, self.storage)
password = self.password_dialog()
wallet = Wallet.from_private_key(text, password, self.storage)
elif Wallet.is_seed(text):
password = self.password_dialog()
wallet = Wallet.from_seed(text, self.storage)