- fix sign/verify messages
- fix hardware wallet tx_outputs
This commit is contained in:
@@ -371,6 +371,16 @@ class InstallWizard(QDialog, MessageBoxMixin, BaseWizard):
|
||||
action = c_values[clayout.selected_index()]
|
||||
return action
|
||||
|
||||
@wizard_dialog
|
||||
def input_dialog(self, title, message, run_next):
|
||||
line = QLineEdit()
|
||||
vbox = QVBoxLayout()
|
||||
vbox.addWidget(QLabel(message))
|
||||
vbox.addWidget(line)
|
||||
self.set_main_layout(vbox, title)
|
||||
action = line.text()
|
||||
return action
|
||||
|
||||
@wizard_dialog
|
||||
def show_xpub_dialog(self, xpub, run_next):
|
||||
msg = ' '.join([
|
||||
|
||||
@@ -1849,7 +1849,8 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, PrintError):
|
||||
|
||||
pubkey_e = QLineEdit()
|
||||
if address:
|
||||
pubkey = self.wallet.get_public_keys(address)[0]
|
||||
sequence = self.wallet.get_address_index(address)
|
||||
pubkey = self.wallet.get_pubkey(*sequence)
|
||||
pubkey_e.setText(pubkey)
|
||||
layout.addWidget(QLabel(_('Public key')), 2, 0)
|
||||
layout.addWidget(pubkey_e, 2, 1)
|
||||
|
||||
Reference in New Issue
Block a user