restore from master public key (qt and command line)
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user