Trezor support

This commit is contained in:
tobtoht
2021-07-01 23:00:47 +02:00
parent 531cc5f980
commit 062022f9d1
19 changed files with 156 additions and 23 deletions
+6
View File
@@ -26,6 +26,12 @@ SignVerifyDialog::SignVerifyDialog(Wallet *wallet, QWidget *parent)
ui->address->setText(m_wallet->address(0, 0));
ui->address->setCursorPosition(0);
if (m_wallet->isHwBacked()) {
// We don't have the secret spend key to sign messages
ui->btn_Sign->setEnabled(false);
ui->btn_Sign->setToolTip("Message signing is not supported on this hardware device.");
}
ui->btn_Copy->setVisible(false);
}