1
0

restore from master public key (qt and command line)

This commit is contained in:
ThomasV
2014-02-28 15:43:06 +01:00
parent 9ddd9c7c65
commit e955ee69a8
3 changed files with 34 additions and 18 deletions

View File

@@ -167,12 +167,6 @@ class InstallWizard(QDialog):
mpk_e.setMaximumHeight(100)
grid.addWidget(mpk_e, 0, 1)
label = QLabel(_("Chain"))
#grid.addWidget(label, 1, 0)
chain_e = QTextEdit()
chain_e.setMaximumHeight(100)
#grid.addWidget(chain_e, 1, 1)
vbox.addLayout(grid)
vbox.addStretch(1)
@@ -183,8 +177,7 @@ class InstallWizard(QDialog):
return None
mpk = str(mpk_e.toPlainText()).strip()
chain = str(chain_e.toPlainText()).strip()
return mpk, chain
return mpk
def network_dialog(self):
@@ -289,8 +282,7 @@ class InstallWizard(QDialog):
mpk = self.mpk_dialog()
if not mpk:
return
wallet.seed = ''
wallet.create_watching_only_wallet(mpk)
wallet = Wallet.from_mpk(mpk, self.storage)
else: raise