]> Nutra Git (v2) - gamesguru/feather.git/commitdiff
Trezor: can't create SpendProofs: missing spendkey
authortobtoht <thotbot@protonmail.com>
Fri, 2 Jul 2021 17:43:00 +0000 (19:43 +0200)
committertobtoht <thotbot@protonmail.com>
Fri, 2 Jul 2021 17:43:00 +0000 (19:43 +0200)
src/dialog/TxProofDialog.cpp

index 96c81ea6efc13a6641c35213f53c1753f5efc3b5..05b43b14f03d6562fa6f6a3314de2ceb41637667 100644 (file)
@@ -75,6 +75,11 @@ void TxProofDialog::selectSpendProof() {
         return;
     }
 
+    if (m_ctx->wallet->isHwBacked()) {
+        this->showWarning("SpendProof creation is not supported on this hardware device.");
+        return;
+    }
+
     ui->frame_message->show();
     ui->label_summary->setText("This proof shows you created a transaction with the txid shown above.");
 }